mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix: add pinned group title
This commit is contained in:
@@ -64,6 +64,6 @@ function groupBySpecial(arr, key) {
|
||||
let g = { items: retVal, groups, groupCounts };
|
||||
g.items.splice(0, 0, ...pinned);
|
||||
g.groupCounts.splice(0, 0, pinned.length);
|
||||
g.groups.splice(0, 0, { title: " " });
|
||||
g.groups.splice(0, 0, { title: "Pinned" });
|
||||
return g;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user