show warning for maxUpscaleDimension if model tab is disabled

This commit is contained in:
Mary Hipp 2024-08-09 13:04:24 -04:00 committed by Kent Keirsey
parent 17ff8196cb
commit 09d1e190e7

View File

@ -57,7 +57,11 @@ export const UpscaleWarning = () => {
$installModelsTab.set(3);
}, [dispatch]);
if ((!modelWarnings.length && !otherWarnings.length) || isLoading || !shouldShowButton) {
if (modelWarnings.length && !shouldShowButton) {
return null;
}
if ((!modelWarnings.length && !otherWarnings.length) || isLoading) {
return null;
}