From 3b32c4cf2920525edd46385a154c47b59d49cca2 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Sat, 29 Nov 2014 12:16:53 +0100 Subject: [PATCH] Fixed no legend on edit --- public/js/components/feature/FeatureForm.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/js/components/feature/FeatureForm.jsx b/public/js/components/feature/FeatureForm.jsx index b840e9fddc..51055b4490 100644 --- a/public/js/components/feature/FeatureForm.jsx +++ b/public/js/components/feature/FeatureForm.jsx @@ -23,14 +23,12 @@ var FeatureForm = React.createClass({ enabled: false }; - var title = this.props.feature ? "" : "Create new toggle"; - return (
- {title} + {this.props.feature ? "" : Create new toggle}