Migrated fields to embedded property calculations

This commit is contained in:
Stefan Zermatten
2021-01-29 13:04:53 +02:00
parent 1167538977
commit 0ea3f7a975
2 changed files with 56 additions and 4 deletions

View File

@@ -12,8 +12,8 @@
</template>
<v-card-text v-if="model.summary">
<computed
embedded
:value="model.summary"
:string="model.summary"
:calculations="model.summaryCalculations"
/>
</v-card-text>
</toolbar-card>
@@ -21,12 +21,12 @@
<script>
import ToolbarCard from '/imports/ui/components/ToolbarCard.vue';
import ComputedForCreature from '/imports/ui/components/computation/ComputedForCreature.vue';
import EmbedInlineComputations from '/imports/ui/components/computation/EmbedInlineComputations.vue';
export default {
components: {
ToolbarCard,
Computed: ComputedForCreature,
Computed: EmbedInlineComputations,
},
props: {
model: {