mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
detect existing attachment in target note
This commit is contained in:
@@ -41,7 +41,7 @@ export default class RootCommandExecutor extends Component {
|
||||
}
|
||||
|
||||
async searchInSubtreeCommand({notePath}) {
|
||||
const noteId = treeService.getNoteIdFromNotePath(notePath);
|
||||
const noteId = treeService.getNoteIdFromUrl(notePath);
|
||||
|
||||
this.searchNotesCommand({ancestorNoteId: noteId});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user