X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Faccounts%2Fsrc%2Faccount%2FaccountsDashboard.jsx;h=7b56011822500d8d46c914325481f2158f3fa43c;hb=d9d683f65ea6e428ac966adf4b9b8f3fcfbda3a6;hp=c0e06807ae807bdcf45f0f03b3d8ddb26c050270;hpb=e29efc315df33d546237e270470916e26df391d6;p=osm%2FUI.git diff --git a/skyquake/plugins/accounts/src/account/accountsDashboard.jsx b/skyquake/plugins/accounts/src/account/accountsDashboard.jsx index c0e06807a..7b5601182 100644 --- a/skyquake/plugins/accounts/src/account/accountsDashboard.jsx +++ b/skyquake/plugins/accounts/src/account/accountsDashboard.jsx @@ -1,5 +1,5 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -26,12 +26,13 @@ import 'style/layout.scss'; class AccountsDashboard extends React.Component { constructor(props) { super(props); - this.Store = this.props.flux.stores.hasOwnProperty('AccountStore') ? this.props.flux.stores.AccountStore : this.props.flux.createStore(AccountStore); + this.Store = this.props.flux.stores.hasOwnProperty('AccountStore') ? this.props.flux.stores.AccountStore : this.props.flux.createStore(AccountStore, "AccountStore"); this.state = this.Store.getState(); } componentWillMount() { this.Store.listen(this.updateState); this.Store.openAccountsSocket(); + this.Store.getResourceOrchestrator(); } componentWillUnmount() { this.Store.closeSocket();