mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
added possibility to search by attached script returning note ids + some refactorings
This commit is contained in:
@@ -43,7 +43,7 @@ function ensureProtectedSession(requireProtectedSession, modal) {
|
||||
$noteTitle.prop("readonly", true);
|
||||
|
||||
if (modal) {
|
||||
if (treeService.getCurrentNode().data.isProtected) {
|
||||
if (treeService.getActiveNode().data.isProtected) {
|
||||
$noteDetailWrapper.hide();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user