Spaces:
Sleeping
Sleeping
Commit
•
86e1104
1
Parent(s):
fef251a
fix a little bug
Browse files
src/app/interface/bottom-bar/index.tsx
CHANGED
@@ -123,7 +123,7 @@ ${uploadUrl
|
|
123 |
<div>
|
124 |
<Button
|
125 |
onClick={handleUpscale}
|
126 |
-
disabled={!prompt?.length || remainingImages > 0 || !Object.values(upscaleQueue).length}
|
127 |
>
|
128 |
{isUpscaling
|
129 |
? `${allStatus.length - Object.values(upscaleQueue).length}/${allStatus.length} ⌛`
|
|
|
123 |
<div>
|
124 |
<Button
|
125 |
onClick={handleUpscale}
|
126 |
+
disabled={!prompt?.length || remainingImages > 0 || isUpscaling || !Object.values(upscaleQueue).length}
|
127 |
>
|
128 |
{isUpscaling
|
129 |
? `${allStatus.length - Object.values(upscaleQueue).length}/${allStatus.length} ⌛`
|