when saving Saved Search or SQL console, move it to their home (i.e. remove from hidden subtree)

This commit is contained in:
zadam
2021-10-24 14:53:45 +02:00
parent 33aa72eb97
commit 3413074235
17 changed files with 94 additions and 59 deletions

View File

@@ -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}`;