From e81b88ad7dad01b7f6389a7354c086324a4be367 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}