Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1072 from replicatedhq/fix-travis-config-issue
Browse files Browse the repository at this point in the history
Fix textdata config issue
  • Loading branch information
sgalsaleh committed Sep 27, 2019
2 parents 7fb54b9 + 056e291 commit d49eb00
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/init/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@replicatedhq/ship-init",
"version": "1.6.8",
"version": "1.6.9",
"description": "Shared component that contains the Ship Init app",
"author": "Replicated, Inc.",
"license": "Apache-2.0",
Expand Down
3 changes: 2 additions & 1 deletion web/init/src/ShipConfigRenderer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export class ShipConfigRenderer extends React.Component {
<ConfigRender
fieldsList={groupsList}
fields={_groups}
handleChange={this.props.handleChange}
handleChange={this.props.handleChange || (() => { return; })}
getData={this.props.getData || (() => { return; })}
/>
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion web/init/src/components/config_render/ConfigRender.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class ConfigRender extends React.Component {
this.setState({groups: keyBy(groups, "name")});

// TODO: maybe this should only be on submit
this.triggerChange(groups);
this.triggerChange(this.props.getData(groups));
}

componentDidUpdate(lastProps) {
Expand Down

0 comments on commit d49eb00

Please sign in to comment.