mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 14:25:51 +01:00
fix backend to frontend sync with waitForSyncId()
This commit is contained in:
@@ -100,4 +100,14 @@ export default class LoadResults {
|
||||
isOptionReloaded(name) {
|
||||
this.options.includes(name);
|
||||
}
|
||||
|
||||
isEmpty() {
|
||||
return Object.keys(this.noteIdToSourceId).length > 0
|
||||
|| this.branches.length > 0
|
||||
|| this.attributes.length > 0
|
||||
|| this.noteReorderings.length > 0
|
||||
|| this.noteRevisions.length > 0
|
||||
|| this.contentNoteIdToSourceId.length > 0
|
||||
|| this.options.length > 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user