mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
disable trigger phrase form if empty
This commit is contained in:
parent
2a648da557
commit
d0d695c020
@ -90,7 +90,7 @@ export const TriggerPhrases = () => {
|
|||||||
size="sm"
|
size="sm"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={addTriggerPhrase}
|
onClick={addTriggerPhrase}
|
||||||
isDisabled={Boolean(errors.length)}
|
isDisabled={!phrase || Boolean(errors.length)}
|
||||||
isLoading={isLoading}
|
isLoading={isLoading}
|
||||||
>
|
>
|
||||||
{t('common.add')}
|
{t('common.add')}
|
||||||
|
Loading…
Reference in New Issue
Block a user