mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
detect existing attachment in target note
This commit is contained in:
@@ -92,7 +92,7 @@ export default class IncludeNoteDialog extends BasicWidget {
|
||||
}
|
||||
|
||||
async includeNote(notePath) {
|
||||
const noteId = treeService.getNoteIdFromNotePath(notePath);
|
||||
const noteId = treeService.getNoteIdFromUrl(notePath);
|
||||
const note = await froca.getNote(noteId);
|
||||
|
||||
const boxSize = $("input[name='include-note-box-size']:checked").val();
|
||||
|
||||
Reference in New Issue
Block a user