1
0
Fork 0

fix(gui): only enable blend tab's generate button with two source images (#235)

This commit is contained in:
Sean Sube 2023-03-19 01:02:25 -05:00
parent 7553040595
commit 3f9789a0a8
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export function Blend() {
/> />
<UpscaleControl /> <UpscaleControl />
<Button <Button
disabled={sources.length === 0} disabled={sources.length < 2}
variant='contained' variant='contained'
onClick={() => upload.mutate()} onClick={() => upload.mutate()}
>{t('generate')}</Button> >{t('generate')}</Button>