Skip to content

Commit

Permalink
fix(gui): only enable blend tab's generate button with two source ima…
Browse files Browse the repository at this point in the history
…ges (#235)
  • Loading branch information
ssube committed Mar 19, 2023
1 parent 7553040 commit 3f9789a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/src/components/tab/Blend.tsx
Expand Up @@ -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>
Expand Down

0 comments on commit 3f9789a

Please sign in to comment.