Files
DiceCloud/app/imports/ui/properties/viewers/shared/PropertyDescription.vue

31 lines
520 B
Vue

<template lang="html">
<computed
v-if="string"
class="property-description"
:string="string"
:calculations="calculations"
/>
</template>
<script>
import EmbedInlineComputations from '/imports/ui/components/computation/EmbedInlineComputations.vue';
export default {
components: {
Computed: EmbedInlineComputations,
},
props: {
string: {
type: String,
default: '',
},
calculations: {
type: Array,
default(){
return [];
},
},
},
}
</script>