(item)
| 91 | } |
| 92 | |
| 93 | async refresh(item) { |
| 94 | // Set _children to null as empty array not reload the children nodes on refresh. |
| 95 | if(item.children?.length == 0) { |
| 96 | item._children = null; |
| 97 | } |
| 98 | await this.tree.refresh(item); |
| 99 | } |
| 100 | |
| 101 | async add(item, data) { |
| 102 | await this.tree.create(item.parent, data.itemData); |
no outgoing calls
no test coverage detected