Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: add pinned group title

thecodrra5aa4e472f01
diff --git a/packages/core/utils/index.js b/packages/core/utils/index.js
index b0353275e..76b8e7fed 100644
--- a/packages/core/utils/index.js
+++ b/packages/core/utils/index.js
@@ -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;
}