mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix minor UI issue causing children overview not being decrypted right after entering protected session
This commit is contained in:
parent
ee1e4fc710
commit
9f64e994dc
@ -65,9 +65,11 @@ async function setupProtectedSession() {
|
|||||||
|
|
||||||
$dialog.modal("hide");
|
$dialog.modal("hide");
|
||||||
|
|
||||||
await noteDetailService.reload();
|
await treeService.reload();
|
||||||
|
|
||||||
treeService.reload();
|
// it's important that tree has been already reloaded at this point
|
||||||
|
// since detail also uses tree cache (for children overview)
|
||||||
|
await noteDetailService.reload();
|
||||||
|
|
||||||
if (protectedSessionDeferred !== null) {
|
if (protectedSessionDeferred !== null) {
|
||||||
ensureDialogIsClosed($dialog, $password);
|
ensureDialogIsClosed($dialog, $password);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user