This commit is contained in:
Magnus Åhall 2024-12-01 10:21:29 +01:00
parent 5c2842c995
commit 1d6ba99a36
8 changed files with 945 additions and 83 deletions

View file

@ -23,7 +23,7 @@ export class Notes2 {
this.startNode = new Node(this, nodeID ? parseInt(nodeID) : 0)
}//}}}
treeGet() {
treeGet() {//{{{
const req = {}
API.query('POST', '/node/tree', req)
.then(response => {
@ -31,7 +31,7 @@ export class Notes2 {
nodeStore.add(response.Nodes)
})
.catch(e => console.log(e.type, e.error))
}
}//}}}
}
class Tree extends Component {