mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
apply new query parsing to note autocomplete
This commit is contained in:
@@ -19,7 +19,7 @@ class Attribute {
|
||||
|
||||
this.noteCache.notes[this.noteId].ownedAttributes.push(this);
|
||||
|
||||
const key = `${this.type-this.name}`;
|
||||
const key = `${this.type}-${this.name}`;
|
||||
this.noteCache.attributeIndex[key] = this.noteCache.attributeIndex[key] || [];
|
||||
this.noteCache.attributeIndex[key].push(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user