mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
autocomplete doesn't show clones and encrypted items (when encryption not available)
This commit is contained in:
@@ -12,6 +12,11 @@ function getNodeByKey(noteId) {
|
||||
|
||||
function getFullName(noteId) {
|
||||
let note = getNodeByKey(noteId);
|
||||
|
||||
if (note.data.is_clone || (note.data.encryption > 0 && !isEncryptionAvailable())) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const path = [];
|
||||
|
||||
while (note) {
|
||||
|
||||
Reference in New Issue
Block a user