🐛 fix: Fix extranetwork loading
parent
90cb669eba
commit
0be4a249ae
File diff suppressed because one or more lines are too long
|
|
@ -3,4 +3,10 @@ export const refreshExtraNetwork = (type: 'txt' | 'img') => {
|
|||
`#${type}2img_extra_tabs > .tab-nav > button`,
|
||||
)[1] as HTMLButtonElement;
|
||||
extraNetworkButton?.click();
|
||||
|
||||
const searchAll = Array.from(
|
||||
document.querySelectorAll(`#${type}2img_extra_tabs button.search-all`),
|
||||
) as HTMLButtonElement[];
|
||||
|
||||
for (const e of searchAll) e.click();
|
||||
};
|
||||
|
|
|
|||
|
|
@ -56,6 +56,14 @@ export const useStyles = createStyles(
|
|||
}
|
||||
|
||||
.extra-networks {
|
||||
.pending {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
.wrap.center.full.translucent {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.tab-nav {
|
||||
align-items: center;
|
||||
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ export const useCivitaiHelperFix = ({
|
|||
|
||||
onSuccess?.();
|
||||
isInject.current = true;
|
||||
|
||||
setIsLoading(false);
|
||||
if (debug) consola.success(`🤯 ${debug}`);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue