mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
StrategyForm should use 'default' as default strategy for empty forms.
This commit is contained in:
parent
a169ec1352
commit
41964de9bf
@ -71,7 +71,7 @@ var FeatureForm = React.createClass({
|
||||
},
|
||||
|
||||
renderStrategyOptions: function() {
|
||||
var currentStrategy = this.props.feature ? this.props.feature.strategy : "";
|
||||
var currentStrategy = this.props.feature ? this.props.feature.strategy : "default";
|
||||
|
||||
return this.state.strategyOptions.map(function(name) {
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user