Files
DiceCloud/app/imports/ui/properties/viewers/shared/PropertyDescription.vue
2021-03-24 16:23:39 +02:00

33 lines
578 B
Vue

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