mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
small changes to linting and protected session
This commit is contained in:
@@ -25,7 +25,9 @@ const protected_session = (function() {
|
||||
if (requireProtectedSession && !isProtectedSessionAvailable()) {
|
||||
protectedSessionDeferred = dfd;
|
||||
|
||||
$noteDetailWrapper.hide();
|
||||
if (noteTree.getCurrentNode().data.isProtected) {
|
||||
$noteDetailWrapper.hide();
|
||||
}
|
||||
|
||||
$dialog.dialog({
|
||||
modal: modal,
|
||||
|
||||
Reference in New Issue
Block a user