improve: support filename search in model download dialog

This commit is contained in:
Dr.Lt.Data committed 2024-05-27 11:16:27 +09:00
1 parent 0449cef088
commit 176ecde6a9
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ export class ModelInstaller extends ComfyDialog {
let keyword = this.search_box.value.toLowerCase();
for(let i in this.grid_rows) {
let data = this.grid_rows[i].data;
let content = data.name.toLowerCase() + data.type.toLowerCase() + data.base.toLowerCase() + data.description.toLowerCase();
let content = data.name.toLowerCase() + data.type.toLowerCase() + data.base.toLowerCase() + data.filename.toLowerCase() + data.description.toLowerCase();
if(this.filter && this.filter != '*') {
if(this.filter != data.installed) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.