Merge pull request #10016 from kashaf-ansari-dev/fix-9742-duplicate-pinned-note

core: do not preserve pin state when duplicating notes
This commit is contained in:
Ammar Ahmed
2026-07-07 09:25:23 +05:00
committed by GitHub

View File

@@ -437,6 +437,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)",