Skip to content

Commit

Permalink
Merge pull request #46 from fga-eps-mds/refactor/US008
Browse files Browse the repository at this point in the history
refactor(repository-form): disable submit button on imported repos
  • Loading branch information
chfleury authored Sep 13, 2024
2 parents 3c93291 + 6cbe92f commit 8cf465f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ const RepositoryForm: NextPageWithLayout = () => {
))}
</TextField>

<MSGButton type="submit">{isEditMode ? t('edit.save') : t('register.create')}</MSGButton>
<MSGButton
disabled={imported}
type="submit">{isEditMode ? t('edit.save') : t('register.create')}
</MSGButton>
</Form>
</form>
</Wrapper>
Expand Down

0 comments on commit 8cf465f

Please sign in to comment.