33 lines
578 B
Vue
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>
|