mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
various widget refactorings
This commit is contained in:
@@ -461,7 +461,7 @@ async function duplicateNote(noteId, parentNoteId) {
|
||||
|
||||
await ws.waitForMaxKnownSyncId();
|
||||
|
||||
await activateNote(note.noteId);
|
||||
await appContext.activateOrOpenNote(note.noteId);
|
||||
|
||||
const origNote = await treeCache.getNote(noteId);
|
||||
toastService.showMessage(`Note "${origNote.title}" has been duplicated`);
|
||||
|
||||
Reference in New Issue
Block a user