From 41964de9bfdb993d7c50e9b1e40730dd5562147d Mon Sep 17 00:00:00 2001 From: Jari Bakken Date: Tue, 25 Nov 2014 15:52:15 +0100 Subject: [PATCH] StrategyForm should use 'default' as default strategy for empty forms. --- public/js/components/feature/FeatureForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/components/feature/FeatureForm.jsx b/public/js/components/feature/FeatureForm.jsx index 783db336b7..243a49a62e 100644 --- a/public/js/components/feature/FeatureForm.jsx +++ b/public/js/components/feature/FeatureForm.jsx @@ -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 (