Fixed Slot cards not using markdown

This commit is contained in:
Stefan Zermatten
2022-08-15 15:38:57 +02:00
parent 38c3b6ff1f
commit f2a1861279

View File

@@ -17,8 +17,11 @@
<v-card-title>
{{ model.name }}
</v-card-title>
<v-card-text v-if="model.description">
{{ model.description.value }}
<v-card-text>
<property-description
text
:model="model.description"
/>
</v-card-text>
<v-spacer />
<v-card-actions>
@@ -36,10 +39,12 @@
<script lang="js">
import CardHighlight from '/imports/ui/components/CardHighlight.vue';
import PropertyDescription from '/imports/ui/properties/viewers/shared/PropertyDescription.vue';
export default {
components: {
CardHighlight,
PropertyDescription,
},
inject: {
theme: {