Fixed hiding rest btn w/out events breaks statsTab

This commit is contained in:
Stefan Zermatten
2022-12-03 12:16:26 +02:00
parent ef26153bb2
commit 0a2d4cf97b

View File

@@ -28,7 +28,7 @@
@remove="softRemove"
/>
<div
v-if="!creature.settings.hideRestButtons || (properties.action.event && properties.action.event.length)"
v-if="!creature.settings.hideRestButtons || (properties.action && properties.action.event && properties.action.event.length)"
class="character-buttons"
>
<v-card>