fix backend switch

This commit is contained in:
Vladimir Mandic
2023-09-15 08:39:25 -04:00
parent 083ab521fa
commit 496bdf7c55
5 changed files with 28 additions and 28 deletions
+1
View File
@@ -162,6 +162,7 @@ function setupExtraNetworksForTab(tabname) {
let text = `${elem.querySelector('.name').textContent.toLowerCase()} ${elem.querySelector('.search_term').textContent.toLowerCase()}`;
text = text.replace('models--', 'Diffusers').replace('\\', '/');
elem.style.display = text.indexOf(searchTerm) === -1 ? 'none' : '';
console.log({ search: searchTerm, text, display: elem.style.display });
});
searchTimer = null;
}, 100);