mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-14 01:16:17 +02:00
StrategyForm should use 'default' as default strategy for empty forms.
This commit is contained in:
parent
20c4fe6702
commit
459cb30bad
@ -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