converted branch prefix dialog to new pattern

This commit is contained in:
zadam
2022-06-14 23:07:42 +02:00
parent bc87bf12cf
commit 312ffc110a
6 changed files with 108 additions and 103 deletions

View File

@@ -20,15 +20,6 @@ export default class RootCommandExecutor extends Component {
import("../dialogs/markdown_import.js").then(d => d.importMarkdownInline());
}
async editBranchPrefixCommand() {
const notePath = appContext.tabManager.getActiveContextNotePath();
if (notePath) {
const editBranchPrefixDialog = await import("../dialogs/branch_prefix.js");
editBranchPrefixDialog.showDialog(notePath);
}
}
editReadOnlyNoteCommand() {
const noteContext = appContext.tabManager.getActiveContext();
noteContext.readOnlyTemporarilyDisabled = true;