Maybe duplicates are fixed this time?

This commit is contained in:
regalijan 2023-10-19 16:50:45 -04:00
parent 19a5f65b59
commit 7c0bc0d7f1
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -184,7 +184,11 @@ export default function () {
) {
cardType = itemType;
// Prevent duplicate items
} else if (entryData.indexOf(entry) === 1 && queue_type === cardType)
} else if (
entryData.indexOf(entry) > 0 &&
queue_type === cardType &&
entryData.filter((d) => d.id === entry.id).length > 1
)
continue;
switch (cardType) {