mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
fix minor UI issue causing children overview not being decrypted right after entering protected session
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user