Fix disabled button with AccountSelect

This commit is contained in:
elforjani3
2020-11-02 17:16:50 +02:00
parent 28fe1c25e6
commit 5b32d8fe7d
5 changed files with 17 additions and 10 deletions

View File

@@ -149,11 +149,11 @@ export const editAccount = (id, form) => {
};
export const activateAccount = ({ id }) => {
return (dispatch) => ApiService.post(`accounts/${id}/active`);
return (dispatch) => ApiService.post(`accounts/${id}/activate`);
};
export const inactiveAccount = ({ id }) => {
return (dispatch) => ApiService.post(`accounts/${id}/inactive`);
return (dispatch) => ApiService.post(`accounts/${id}/inactivate`);
};
export const bulkActivateAccounts = ({ ids }) => {