Root page override
This commit is contained in:
parent
31eee4ede5
commit
b3ca0d29d0
6 changed files with 70 additions and 29 deletions
|
|
@ -416,6 +416,11 @@ export class Node {
|
|||
_mbus.dispatch('NODE_MODIFIED', { node: this })
|
||||
}// }}}
|
||||
async save() {//{{{
|
||||
// Just safeguarding not using the root node,
|
||||
// which sort of exist but isn't supposed to communicate to server.
|
||||
if (this.UUID == ROOT_NODE)
|
||||
return
|
||||
|
||||
this.data.Content = this._content
|
||||
this.data.Updated = new Date().toISOString()
|
||||
this.data.HistoryUUID = uuidv7() // every time the node is saved a new history UUID identifies the changed node.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue