mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
close currently active dialog if a different one is activated
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user