* client: remove /clients and /stats_top request from global requests

This commit is contained in:
Ildar Kamalov
2019-07-08 12:49:03 +03:00
parent fce551dcaf
commit 2520a62e24
5 changed files with 8 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ import Loading from '../../ui/Loading';
class Clients extends Component {
componentDidMount() {
this.props.getClients();
this.props.getTopStats();
}
render() {
@@ -63,6 +64,7 @@ Clients.propTypes = {
addClient: PropTypes.func.isRequired,
updateClient: PropTypes.func.isRequired,
getClients: PropTypes.func.isRequired,
getTopStats: PropTypes.func.isRequired,
topStats: PropTypes.object,
};