From 523c34b719305ed821e678c1465b2b72f6ab3d16 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Sun, 21 Feb 2021 17:01:24 +0200 Subject: [PATCH] Fixed: Slots that use conditions now only hide on falsey value (false, 0, '') --- app/imports/ui/creature/slots/Slots.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/imports/ui/creature/slots/Slots.vue b/app/imports/ui/creature/slots/Slots.vue index 928d1526..569888cd 100644 --- a/app/imports/ui/creature/slots/Slots.vue +++ b/app/imports/ui/creature/slots/Slots.vue @@ -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},