* client: remove /clients and /stats_top request from global requests
This commit is contained in:
@@ -21,6 +21,7 @@ class Logs extends Component {
|
||||
componentDidMount() {
|
||||
this.getLogs();
|
||||
this.props.getFilteringStatus();
|
||||
this.props.getClients();
|
||||
}
|
||||
|
||||
componentDidUpdate(prevProps) {
|
||||
@@ -356,6 +357,7 @@ Logs.propTypes = {
|
||||
processingRules: PropTypes.bool,
|
||||
logStatusProcessing: PropTypes.bool,
|
||||
t: PropTypes.func,
|
||||
getClients: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
export default withNamespaces()(Logs);
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user