* 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

@@ -1,5 +1,5 @@
import { connect } from 'react-redux';
import { getClients } from '../actions';
import { getClients, getTopStats } from '../actions';
import { addClient, updateClient, deleteClient, toggleClientModal } from '../actions/clients';
import Clients from '../components/Settings/Clients';
@@ -14,6 +14,7 @@ const mapStateToProps = (state) => {
const mapDispatchToProps = {
getClients,
getTopStats,
addClient,
updateClient,
deleteClient,

View File

@@ -1,5 +1,5 @@
import { connect } from 'react-redux';
import { getLogs, toggleLogStatus, downloadQueryLog, getFilteringStatus, setRules, addSuccessToast } from '../actions';
import { getLogs, toggleLogStatus, downloadQueryLog, getFilteringStatus, setRules, addSuccessToast, getClients } from '../actions';
import Logs from '../components/Logs';
const mapStateToProps = (state) => {
@@ -15,6 +15,7 @@ const mapDispatchToProps = {
getFilteringStatus,
setRules,
addSuccessToast,
getClients,
};
export default connect(