mirror of
https://github.com/zadam/trilium.git
synced 2025-02-22 22:13:07 +08:00
enter/leave protected session button is not refreshed after entering from note detail (not dialog), fixes #555
This commit is contained in:
parent
7eed076674
commit
0a0663be69
1 changed files with 3 additions and 3 deletions
|
@ -55,10 +55,10 @@ async function setupProtectedSession(password) {
|
||||||
|
|
||||||
protectedSessionDeferred.resolve(true);
|
protectedSessionDeferred.resolve(true);
|
||||||
protectedSessionDeferred = null;
|
protectedSessionDeferred = null;
|
||||||
|
}
|
||||||
|
|
||||||
$enterProtectedSessionButton.hide();
|
$enterProtectedSessionButton.hide();
|
||||||
$leaveProtectedSessionButton.show();
|
$leaveProtectedSessionButton.show();
|
||||||
}
|
|
||||||
|
|
||||||
infoService.showMessage("Protected session has been started.");
|
infoService.showMessage("Protected session has been started.");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue