Removed all UI computations from viewers and components

This commit is contained in:
Stefan Zermatten
2021-01-31 18:42:17 +02:00
parent a5284bf6e8
commit aee899e181
27 changed files with 107 additions and 232 deletions

View File

@@ -53,22 +53,14 @@
@mouseleave="hover = false"
>
<v-list-tile-title>
{{ model.hitDiceSize }} <computed
class="d-inline"
signed
value="constitution.modifier"
/>
{{ model.hitDiceSize }} {{ model.constitutionMod }}
</v-list-tile-title>
</v-list-tile-content>
</v-list-tile>
</template>
<script>
import ComputedForCreature from '/imports/ui/components/computation/ComputedForCreature.vue';
export default {
components: {
Computed: ComputedForCreature,
},
inject: {
context: { default: {} }
},