mirror of https://github.com/vladmandic/automatic
ui fix filter by model type
Signed-off-by: vladmandic <mandic00@live.com>pull/4497/head
parent
e9d418cf77
commit
f721a679cf
|
|
@ -51,7 +51,8 @@ End of year release update, just two weeks after previous one, with several new
|
|||
- control input media with non-english locales
|
||||
- handle embeds when on meta device
|
||||
- improve offloading when model has manual modules
|
||||
- fix ui section colapsible state, thanks @awsr
|
||||
- ui section colapsible state, thanks @awsr
|
||||
- ui filter by model type
|
||||
|
||||
## Update for 2025-12-11
|
||||
|
||||
|
|
|
|||
|
|
@ -312,8 +312,9 @@ function extraNetworksFilterVersion(event) {
|
|||
const version = event.target.textContent.trim();
|
||||
const activeTab = getENActiveTab();
|
||||
const activePage = getENActivePage().toLowerCase();
|
||||
const cardContainer = gradioApp().querySelector(`#${activeTab}_${activePage}_cards`);
|
||||
log('extraNetworksFilterVersion', version);
|
||||
let cardContainer = gradioApp().querySelector(`#${activeTab}_${activePage}_cards`);
|
||||
if (!cardContainer) cardContainer = gradioApp().querySelector(`#txt2img_extra_networks_${activePage}_cards`);
|
||||
log('extraNetworksFilterVersion', { version, activeTab, activePage, cardContainer });
|
||||
if (!cardContainer) return;
|
||||
if (cardContainer.dataset.activeVersion === version) {
|
||||
cardContainer.dataset.activeVersion = '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue