fix minor UI issue causing children overview not being decrypted right after entering protected session

This commit is contained in:
azivner 2018-11-30 10:33:40 +01:00
parent ee1e4fc710
commit 9f64e994dc

View File

@ -65,9 +65,11 @@ async function setupProtectedSession() {
$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) {
ensureDialogIsClosed($dialog, $password);