Maybe duplicates are fixed this time?
This commit is contained in:
parent
19a5f65b59
commit
7c0bc0d7f1
@ -184,7 +184,11 @@ export default function () {
|
|||||||
) {
|
) {
|
||||||
cardType = itemType;
|
cardType = itemType;
|
||||||
// Prevent duplicate items
|
// 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;
|
continue;
|
||||||
|
|
||||||
switch (cardType) {
|
switch (cardType) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user