Fixed references display in tree views

This commit is contained in:
Stefan Zermatten
2021-08-10 15:02:24 +02:00
parent 741a9b080a
commit 6600cea9fa
2 changed files with 5 additions and 4 deletions

View File

@@ -22,12 +22,12 @@
<script lang="js">
import treeNodeViewMixin from '/imports/ui/properties/treeNodeViews/treeNodeViewMixin.js';
import TreeNodeView from '/imports/ui/properties/treeNodeViews/TreeNodeView.vue';
export default {
components: {
TreeNodeView,
},
name: 'ReferenceTreeNode',
mixins: [treeNodeViewMixin],
beforeCreate () {
this.$options.components.TreeNodeView = require('/imports/ui/properties/treeNodeViews/TreeNodeView.vue').default
},
}
</script>

View File

@@ -10,6 +10,7 @@
import treeNodeViewIndex from '/imports/ui/properties/treeNodeViews/treeNodeViewIndex.js';
export default {
name: 'TreeNodeView',
components: {
...treeNodeViewIndex
},