Added select for listen interfaces

This commit is contained in:
Ildar Kamalov
2019-02-01 19:52:42 +03:00
committed by Eugene Bujak
parent 5abe5af707
commit f379d34813
10 changed files with 211 additions and 107 deletions

View File

@@ -48,8 +48,10 @@ export const setAllSettings = values => async (dispatch) => {
await apiClient.setAllSettings(config);
dispatch(setAllSettingsSuccess());
dispatch(addSuccessToast('install_saved'));
dispatch(nextStep());
} catch (error) {
dispatch(addErrorToast({ error }));
dispatch(setAllSettingsFailure());
dispatch(prevStep());
}
};