mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
fix branch prefix dialog
This commit is contained in:
@@ -52,11 +52,12 @@ export default class DialogEventComponent extends Component {
|
||||
}
|
||||
|
||||
async editBranchPrefixListener() {
|
||||
// FIXME
|
||||
const node = this.appContext.getMainNoteTree().getActiveNode();
|
||||
const notePath = this.appContext.tabManager.getActiveTabNotePath();
|
||||
|
||||
const editBranchPrefixDialog = await import("../dialogs/branch_prefix.js");
|
||||
editBranchPrefixDialog.showDialog(node);
|
||||
if (notePath) {
|
||||
const editBranchPrefixDialog = await import("../dialogs/branch_prefix.js");
|
||||
editBranchPrefixDialog.showDialog(notePath);
|
||||
}
|
||||
}
|
||||
|
||||
addLinkToTextListener() {
|
||||
|
||||
Reference in New Issue
Block a user