mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
refactoring for archived notes handling in note cache
This commit is contained in:
@@ -113,8 +113,8 @@ function addImagesToNote(images, note, content) {
|
||||
new Attribute({
|
||||
noteId: imageNote.noteId,
|
||||
type: 'label',
|
||||
name: 'hideInAutocomplete'
|
||||
}).save();
|
||||
name: 'archived'
|
||||
}).save(); // so that these image notes don't show up in search / autocomplete
|
||||
|
||||
new Attribute({
|
||||
noteId: note.noteId,
|
||||
|
||||
Reference in New Issue
Block a user