Skip to content

Commit

Permalink
fix(ui): do not allow model add when no location is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Mar 8, 2024
1 parent 60d8abe commit c8d3501
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c8d3501

Please sign in to comment.