mirror of
https://github.com/zadam/trilium.git
synced 2025-01-21 22:51:22 +08:00
comment
This commit is contained in:
parent
807b442c7a
commit
dd8226ff4c
1 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,11 @@ async function processEntityChanges(entityChanges) {
|
|||
}
|
||||
}
|
||||
|
||||
// froca is supposed to contain all notes currently being visible to the users in the tree / otherwise being processed
|
||||
// and their complete "ancestor relationship", so it's always possible to go up in the hierarchy towards the root.
|
||||
// To this we count: standard parent-child relationships and template/inherit relations (attribute inheritance follows them).
|
||||
// Here we watch for changes which might violate this principle - e.g. introduction of a new "inherit" relation might
|
||||
// mean we need to load the target of the relation (and then perhaps transitively the whole note path of this target).
|
||||
const missingNoteIds = [];
|
||||
|
||||
for (const {entityName, entity} of entityChanges) {
|
||||
|
|
Loading…
Reference in a new issue