From 3aa23d3215418fcaa0e89f71f4e42206b6336d9c Mon Sep 17 00:00:00 2001 From: kashaf-ansari-dev Date: Thu, 25 Jun 2026 17:33:36 +0500 Subject: [PATCH] core: do not preserve pin state when duplicating notes Signed-off-by: kashaf-ansari-dev --- packages/core/src/collections/notes.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/collections/notes.ts b/packages/core/src/collections/notes.ts index f56f6c645..d0b5f4570 100644 --- a/packages/core/src/collections/notes.ts +++ b/packages/core/src/collections/notes.ts @@ -434,6 +434,7 @@ export class Notes implements ICollection { const duplicateId = await this.db.notes.add({ ...clone(note), id: undefined, + pinned: false, isGeneratedTitle: false, contentId: undefined, title: note.title + " (Copy)",