Bug: dropdown visible on normal input
This commit is contained in:
@@ -1161,6 +1161,9 @@ class ModelManager extends ComfyDialog {
|
|||||||
searchDropdown.append.apply(searchDropdown, innerHtml);
|
searchDropdown.append.apply(searchDropdown, innerHtml);
|
||||||
searchDropdown.style.display = options.length === 0 ? "none" : "block";
|
searchDropdown.style.display = options.length === 0 ? "none" : "block";
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
searchDropdown.style.display = "none";
|
||||||
|
}
|
||||||
|
|
||||||
this.#data.prevousModelFilters[modelType] = filter;
|
this.#data.prevousModelFilters[modelType] = filter;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user