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