mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): do not allow model add when no location is provided
This commit is contained in:
parent
d0fcdbe8a3
commit
fe2c6f621a
@ -72,7 +72,7 @@ export const InstallModelForm = () => {
|
||||
</FormControl>
|
||||
<Button
|
||||
onClick={handleSubmit(onSubmit)}
|
||||
isDisabled={!formState.isDirty}
|
||||
isDisabled={!formState.dirtyFields.location}
|
||||
isLoading={isLoading}
|
||||
type="submit"
|
||||
size="sm"
|
||||
|
Loading…
Reference in New Issue
Block a user