Added configStore id to prevent conflicts during gzip
[osm/UI.git] / skyquake / plugins / config / src / dashboard / dashboard.jsx
index b8a743f..7430994 100644 (file)
@@ -15,7 +15,7 @@ import Button from 'widgets/button/rw.button.js';
 class ConfigDashboard extends React.Component {
     constructor(props) {
         super(props);
-        this.Store = this.props.flux.stores.hasOwnProperty('ConfigStore') ? this.props.flux.stores.ConfigStore : this.props.flux.createStore(ConfigStore);
+        this.Store = this.props.flux.stores.hasOwnProperty('ConfigStore') ? this.props.flux.stores.ConfigStore : this.props.flux.createStore(ConfigStore, "ConfigStore");
         this.state = this.Store.getState();
     }
     componentWillMount() {
@@ -123,7 +123,6 @@ class ConfigDashboard extends React.Component {
                             }
                 </div>
                 <div className="form-actions">
-                    <Button  className="light" label="Cancel" />
                     <Button key="4" role="button" className="update dark" label="Update"  onClick={this.updateAccount} />
                 </div>
             </form>