Files
DiceCloud/app/imports/ui/properties/treeNodeViews/ReferenceTreeNode.vue
2021-04-29 15:52:24 +02:00

23 lines
544 B
Vue

<template lang="html">
<div class="layout align-center justify-start">
<property-icon
v-if="!hideIcon"
class="mr-2"
:model="model"
:color="model.color"
:class="selected && 'primary--text'"
/>
<div class="text-no-wrap text-truncate">
{{ model.cache.node && model.cache.node.name || title }}
</div>
</div>
</template>
<script lang="js">
import treeNodeViewMixin from '/imports/ui/properties/treeNodeViews/treeNodeViewMixin.js';
export default {
mixins: [treeNodeViewMixin],
}
</script>