Allow fence to list items with missing required items
This commit is contained in:
parent
66ab32e6c4
commit
c5806aadb8
@ -701,11 +701,6 @@ export class FenceService
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const slotDetails = itemDbDetails[1]._props.Slots.find(slot => slot._name === itemMod.slotId);
|
|
||||||
if (slotDetails?._required)
|
|
||||||
{
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove item and its sub-items to prevent orphans
|
// Remove item and its sub-items to prevent orphans
|
||||||
toDelete.push(...this.itemHelper.findAndReturnChildrenByItems(itemAndMods, itemMod._id));
|
toDelete.push(...this.itemHelper.findAndReturnChildrenByItems(itemAndMods, itemMod._id));
|
||||||
|
Loading…
Reference in New Issue
Block a user