mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
when saving Saved Search or SQL console, move it to their home (i.e. remove from hidden subtree)
This commit is contained in:
@@ -25,7 +25,7 @@ class Becca {
|
||||
this.loaded = false;
|
||||
}
|
||||
|
||||
/** @return {Attribute[]} */
|
||||
/** @returns {Attribute[]} */
|
||||
findAttributes(type, name) {
|
||||
name = name.trim().toLowerCase();
|
||||
|
||||
@@ -36,7 +36,7 @@ class Becca {
|
||||
return this.attributeIndex[`${type}-${name}`] || [];
|
||||
}
|
||||
|
||||
/** @return {Attribute[]} */
|
||||
/** @returns {Attribute[]} */
|
||||
findAttributesWithPrefix(type, name) {
|
||||
const resArr = [];
|
||||
const key = `${type}-${name}`;
|
||||
|
||||
Reference in New Issue
Block a user