Skip to content

Commit

Permalink
✨ Load default pipeline from GitHub to GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy committed Jul 2, 2021
1 parent c9f196b commit c9af2f0
Show file tree
Hide file tree
Showing 7 changed files with 208 additions and 2,173 deletions.
7 changes: 0 additions & 7 deletions app/containers/PipelinePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,28 +120,21 @@ class PipelinePage extends Component {
const value = values.target.type && values.target.type == "checkbox" ?
values.target.checked :
values.target.value;
console.log(name);
console.log(value);
return this.handleChange([[name, fromJS(value)]]);
}

for (let [key, value] of values) {
if (typeof key == "string") {
key = key.split('.')
}
console.log(key);
console.log(configuration.getIn(key));
configuration = configuration.setIn(key, isImmutable(value) ? value : fromJS(value));
console.log(configuration.getIn(key));
}

this.props.pipelineVersionDirtyUpdate(
this.props.pipeline,
configuration
)

console.log(this.props.pipeline.get('id'));

this.setState({ configuration, dirty: true, version: "0" })
}

Expand Down
Loading

0 comments on commit c9af2f0

Please sign in to comment.