mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(tree): note order sometimes incorrect (closes #1727)
This commit is contained in:
parent
722abb14de
commit
482243b419
@ -14,6 +14,7 @@
|
|||||||
* [Calendar stops displaying notes after adding a Day Note](https://github.com/TriliumNext/Notes/issues/1705)
|
* [Calendar stops displaying notes after adding a Day Note](https://github.com/TriliumNext/Notes/issues/1705)
|
||||||
* Full anonymization not redacting attachment titles.
|
* Full anonymization not redacting attachment titles.
|
||||||
* Unable to trigger "Move to" dialog via keyboard shortcut.
|
* Unable to trigger "Move to" dialog via keyboard shortcut.
|
||||||
|
* [Note ordering doesn't load correctly, only shows up right after moving a note](https://github.com/TriliumNext/Notes/issues/1727)
|
||||||
|
|
||||||
## ✨ Improvements
|
## ✨ Improvements
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ class FNote {
|
|||||||
|
|
||||||
for (const branchId of Object.values(this.childToBranch)) {
|
for (const branchId of Object.values(this.childToBranch)) {
|
||||||
const notePosition = this.froca.getBranch(branchId)?.notePosition;
|
const notePosition = this.froca.getBranch(branchId)?.notePosition;
|
||||||
if (notePosition) {
|
if (notePosition !== undefined) {
|
||||||
branchIdPos[branchId] = notePosition;
|
branchIdPos[branchId] = notePosition;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user