mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-07-09 20:09:36 +02:00
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:
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user