mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +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() {
|
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 this.state.strategyOptions.map(function(name) {
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user