Added configStore id to prevent conflicts during gzip
authorLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 16 May 2017 14:33:04 +0000 (10:33 -0400)
committerLaurence Maultsby <laurence.maultsby@riftio.com>
Tue, 16 May 2017 14:33:04 +0000 (10:33 -0400)
Signed-off-by: Laurence Maultsby <laurence.maultsby@riftio.com>
skyquake/plugins/config/src/dashboard/dashboard.jsx

index 99bff06..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() {