improved note list pager for many pages

This commit is contained in:
zadam
2020-12-12 12:07:15 +01:00
parent 5098dda376
commit 60e2026850
6 changed files with 29 additions and 18 deletions

View File

@@ -97,9 +97,6 @@ function getNotesAndBranchesAndAttributes(noteIds) {
});
}
branches.sort((a, b) => a.notePosition - b.notePosition < 0 ? -1 : 1);
attributes.sort((a, b) => a.position - b.position < 0 ? -1 : 1);
return {
branches,
notes,