mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
fix clone notes dialog
This commit is contained in:
@@ -617,6 +617,12 @@ export default class NoteTreeWidget extends TabAwareWidget {
|
||||
this.reloadTreeFromCache();
|
||||
}
|
||||
|
||||
async cloneNotesToCommand() {
|
||||
const selectedOrActiveNoteIds = this.getSelectedOrActiveNodes().map(node => node.data.noteId);
|
||||
|
||||
this.triggerCommand('cloneNoteIdsTo', {noteIds: selectedOrActiveNoteIds});
|
||||
}
|
||||
|
||||
async moveNotesToCommand() {
|
||||
const selectedOrActiveBranchIds = this.getSelectedOrActiveNodes().map(node => node.data.branchId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user