Fixed: Slots that use conditions now only hide on falsey value (false, 0, '')

This commit is contained in:
Stefan Zermatten
2021-02-21 17:01:24 +02:00
parent e833fba870
commit 523c34b719

View File

@@ -120,7 +120,7 @@ export default {
'ancestors.id': this.creatureId,
type: 'propertySlot',
$or: [
{slotConditionResult: true},
{slotConditionResult: {$nin: [false, 0, '']}},
{slotConditionResult: {$exists: false}},
],
removed: {$ne: true},