Skip to content

Commit

Permalink
refactor(provider/cf): reorder artifact types
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy Louie authored and jkschneider committed Nov 23, 2018
1 parent 72325a4 commit 15de39f
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,17 @@ class ArtifactSettingsImpl extends React.Component<
<div className="form-group row">
<label className="col-md-3 sm-label-right">Source Type</label>
<div className="col-md-7">
<div className="radio radio-inline">
<label>
<input
type="radio"
value="artifact"
checked={artifact.type === 'artifact'}
onChange={() => this.artifactTypeUpdated('artifact')}
/>{' '}
Artifact
</label>
</div>
{(this.props.formik.values.viewState.mode === 'editPipeline' ||
this.props.formik.values.viewState.mode === 'createPipeline') && (
<div className="radio radio-inline">
Expand All @@ -391,17 +402,6 @@ class ArtifactSettingsImpl extends React.Component<
</label>
</div>
)}
<div className="radio radio-inline">
<label>
<input
type="radio"
value="artifact"
checked={artifact.type === 'artifact'}
onChange={() => this.artifactTypeUpdated('artifact')}
/>{' '}
Artifact
</label>
</div>
<div className="radio radio-inline">
<label>
<input
Expand Down

0 comments on commit 15de39f

Please sign in to comment.