mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 15:19:56 +01:00
detect existing attachment in target note
This commit is contained in:
@@ -59,7 +59,7 @@ export default class BranchPrefixDialog extends BasicWidget {
|
||||
}
|
||||
|
||||
async refresh(notePath) {
|
||||
const {noteId, parentNoteId} = treeService.getNoteIdAndParentIdFromNotePath(notePath);
|
||||
const {noteId, parentNoteId} = treeService.getNoteIdAndParentIdFromUrl(notePath);
|
||||
|
||||
if (!noteId || !parentNoteId) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user