1
0
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:
Jari Bakken 2014-11-25 15:52:15 +01:00 committed by Ivar Conradi Østhus
parent a169ec1352
commit 41964de9bf

View File

@ -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 (