* client: reload list on opening Clients settings

This commit is contained in:
Ildar Kamalov
2019-06-05 15:49:01 +03:00
parent a3b8d4d923
commit b2364e465f
3 changed files with 9 additions and 2 deletions

View File

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