Fixed hit dice missing on stats tab

This commit is contained in:
Stefan Zermatten
2022-11-25 12:14:47 +02:00
parent bda446858e
commit bb1e9624ad

View File

@@ -161,13 +161,13 @@
</div> </div>
<div <div
v-if="properties.hitDice && properties.hitDice.length" v-if="properties.attribute.hitDice && properties.attribute.hitDice.length"
class="hit-dice" class="hit-dice"
> >
<v-card> <v-card>
<v-list> <v-list>
<v-subheader>Hit Dice</v-subheader> <v-subheader>Hit Dice</v-subheader>
<template v-for="(hitDie, index) in hitDice"> <template v-for="(hitDie, index) in properties.attribute.hitDice">
<v-divider <v-divider
v-if="index !== 0" v-if="index !== 0"
:key="hitDie._id + 'divider'" :key="hitDie._id + 'divider'"