Choice branch UI working!

This commit is contained in:
ThaumRystra
2024-04-30 14:54:16 +02:00
parent 19669e729c
commit 9cd6ca5c6e
3 changed files with 118 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
<template lang="html">
<tree-node-list
v-if="model"
v-if="model && model.root"
:children="children"
:group="group"
:organize="organize"
@@ -41,6 +41,7 @@ export default {
},
meteor: {
children() {
if (!this.model?.root) return [];
const collection = getCollectionByName(this.collection);
const docs = collection.find({
removed: { $ne: true },