+ client: separate filters from the table component

This commit is contained in:
Ildar Kamalov
2019-11-15 10:51:45 +03:00
committed by Simon Zolin
parent 6b64d393bd
commit e243e69a6e
8 changed files with 263 additions and 94 deletions

View File

@@ -1,7 +1,7 @@
import { connect } from 'react-redux';
import { addSuccessToast, getClients } from '../actions';
import { getFilteringStatus, setRules } from '../actions/filtering';
import { getLogs, getLogsConfig, setLogsPagination, setLogsFilter } from '../actions/queryLogs';
import { getLogs, getLogsConfig, setLogsPagination, setLogsFilter, setLogsPage } from '../actions/queryLogs';
import Logs from '../components/Logs';
const mapStateToProps = (state) => {
@@ -19,6 +19,7 @@ const mapDispatchToProps = {
getLogsConfig,
setLogsPagination,
setLogsFilter,
setLogsPage,
};
export default connect(