mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
detect existing attachment in target note
This commit is contained in:
@@ -62,7 +62,7 @@ class NoteContext extends Component {
|
||||
|
||||
this.notePath = resolvedNotePath;
|
||||
this.viewScope = opts.viewScope;
|
||||
({noteId: this.noteId, parentNoteId: this.parentNoteId} = treeService.getNoteIdAndParentIdFromNotePath(resolvedNotePath));
|
||||
({noteId: this.noteId, parentNoteId: this.parentNoteId} = treeService.getNoteIdAndParentIdFromUrl(resolvedNotePath));
|
||||
|
||||
this.saveToRecentNotes(resolvedNotePath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user