Skip to content

Commit

Permalink
Allow the default repo url to be edited.
Browse files Browse the repository at this point in the history
  • Loading branch information
squidsoup committed Dec 10, 2019
1 parent bb43dee commit be0dbaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export const RepositoryForm = ({ type, repository }) => {
if (values.default) {
params.disabled_components = values.disabled_components;
params.disabled_pockets = values.disabled_pockets;
params.url = values.url;
} else {
params.components = values.components
.split(" ,")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,7 @@ const RepositoryFormFields = ({ type }) => {
disabled={values.default}
required
/>
<FormikField
label="URL"
type="text"
name="url"
disabled={values.default}
required
/>
<FormikField label="URL" type="text" name="url" required />
<List
items={[
<FormikField
Expand Down

0 comments on commit be0dbaa

Please sign in to comment.