mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +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)
|
||||
* Full anonymization not redacting attachment titles.
|
||||
* 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
|
||||
|
||||
|
@ -151,7 +151,7 @@ class FNote {
|
||||
|
||||
for (const branchId of Object.values(this.childToBranch)) {
|
||||
const notePosition = this.froca.getBranch(branchId)?.notePosition;
|
||||
if (notePosition) {
|
||||
if (notePosition !== undefined) {
|
||||
branchIdPos[branchId] = notePosition;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user