diff --git a/lib/manager/components/deployment/DeploymentConfigurationsPanel.js b/lib/manager/components/deployment/DeploymentConfigurationsPanel.js index 2e4c23514..c5b247cc9 100644 --- a/lib/manager/components/deployment/DeploymentConfigurationsPanel.js +++ b/lib/manager/components/deployment/DeploymentConfigurationsPanel.js @@ -10,7 +10,9 @@ import { ListGroupItem, Button, Panel, - Glyphicon + Glyphicon, + Radio, + FormGroup } from 'react-bootstrap' import Select from 'react-select' import validator from 'validator' @@ -148,7 +150,11 @@ export default class DeploymentConfigurationsPanel extends Component<{ _onUpdateTripPlannerVersion = (option: ReactSelectOption) => { const {deployment, updateDeployment} = this.props - updateDeployment(deployment, { tripPlannerVersion: option.value }) + updateDeployment(deployment, { tripPlannerVersion: option.value, deploymentMode: 'RUNNER' }) + } + _onUpdateDeploymentMode = (e) => { + const {deployment, updateDeployment} = this.props + updateDeployment(deployment, { deploymentMode: e.target.value }) } _onUpdateVersion = (option: ReactSelectOption) => { @@ -181,7 +187,29 @@ export default class DeploymentConfigurationsPanel extends Component<{ options={TRIP_PLANNER_VERSIONS} value={deployment.tripPlannerVersion} /> -