fix(gui): only enable blend tab's generate button with two source images (#235)
This commit is contained in:
parent
7553040595
commit
3f9789a0a8
|
@ -71,7 +71,7 @@ export function Blend() {
|
|||
/>
|
||||
<UpscaleControl />
|
||||
<Button
|
||||
disabled={sources.length === 0}
|
||||
disabled={sources.length < 2}
|
||||
variant='contained'
|
||||
onClick={() => upload.mutate()}
|
||||
>{t('generate')}</Button>
|
||||
|
|
Loading…
Reference in New Issue