/*
- *
+ *
* Copyright 2016 RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
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();