close currently active dialog if a different one is activated

This commit is contained in:
zadam
2019-06-10 22:45:03 +02:00
parent 27659805f6
commit 4cde65d171
20 changed files with 60 additions and 5 deletions

View File

@@ -162,9 +162,7 @@ async function activateNote(notePath, noteLoadedListener) {
await hoistedNoteService.unhoist();
}
if (glob.activeDialog) {
glob.activeDialog.modal('hide');
}
utils.closeActiveDialog();
const node = await expandToNote(notePath);