From a5284bf6e813264753ec415d12581741f6b1d5a7 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Sat, 30 Jan 2021 11:22:29 +0200 Subject: [PATCH] Made 'always prepared' spells show up in casting list --- .../properties/components/spells/CastSpellWithSlotDialog.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue b/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue index d21d678a..dbb67c2f 100644 --- a/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue +++ b/app/imports/ui/properties/components/spells/CastSpellWithSlotDialog.vue @@ -256,7 +256,10 @@ export default { 'ancestors.id': this.creatureId, removed: {$ne: true}, inactive: {$ne: true}, - prepared: true, + $or: [ + {prepared: true}, + {alwaysPrepared: true}, + ], level: {$lte: slotLevel}, }; // Apply the filters from the filter menu