+ client: handle time interval for statistics
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import { connect } from 'react-redux';
|
||||
import { initSettings, toggleSetting } from '../actions';
|
||||
import { getBlockedServices, setBlockedServices } from '../actions/services';
|
||||
import { getStatsConfig, setStatsConfig } from '../actions/stats';
|
||||
import Settings from '../components/Settings';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { settings, services } = state;
|
||||
const { settings, services, stats } = state;
|
||||
const props = {
|
||||
settings,
|
||||
services,
|
||||
stats,
|
||||
};
|
||||
return props;
|
||||
};
|
||||
@@ -17,6 +19,8 @@ const mapDispatchToProps = {
|
||||
toggleSetting,
|
||||
getBlockedServices,
|
||||
setBlockedServices,
|
||||
getStatsConfig,
|
||||
setStatsConfig,
|
||||
};
|
||||
|
||||
export default connect(
|
||||
|
||||
Reference in New Issue
Block a user