From f66190463a01d38be92651e1d40e45be411a1c0e Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Wed, 7 Jun 2023 15:01:00 +0200 Subject: [PATCH] Fixed spell lists w/ no max prepared can't prepare --- .../client/ui/properties/components/spells/SpellListCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/imports/client/ui/properties/components/spells/SpellListCard.vue b/app/imports/client/ui/properties/components/spells/SpellListCard.vue index d2d3134b..c31e5897 100644 --- a/app/imports/client/ui/properties/components/spells/SpellListCard.vue +++ b/app/imports/client/ui/properties/components/spells/SpellListCard.vue @@ -15,7 +15,7 @@ v-if="preparingSpells || preparedError" :class="{'error--text' : preparedError}" > - {{ numPrepared }}/{{ model.maxPrepared.value }} spells prepared + {{ numPrepared }}/{{ model.maxPrepared && model.maxPrepared.value || 0 }} spells prepared