Fixes for HistoryUUID
This commit is contained in:
parent
be7f5dbf30
commit
3e8d5b6d9a
7 changed files with 176 additions and 18 deletions
|
|
@ -422,6 +422,7 @@ export class Node {
|
|||
async save() {//{{{
|
||||
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.
|
||||
this._modified = false
|
||||
|
||||
_mbus.dispatch('NODE_UNMODIFIED')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue