mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-04 12:48:47 -06: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