fix(ui): do not allow model add when no location is provided

This commit is contained in:
psychedelicious 2024-03-08 14:38:47 +11:00
parent d0fcdbe8a3
commit fe2c6f621a

View File

@ -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"