mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-16 02:18:28 -07:00
Request tls status after save
This commit is contained in:
parent
c19416bf8e
commit
3898309778
@ -683,6 +683,7 @@ export const setTlsConfig = config => async (dispatch) => {
|
||||
await apiClient.setTlsConfig(values);
|
||||
dispatch(setTlsConfigSuccess(config));
|
||||
dispatch(addSuccessToast('encryption_config_saved'));
|
||||
dispatch(getTlsStatus());
|
||||
} catch (error) {
|
||||
dispatch(addErrorToast({ error }));
|
||||
dispatch(setTlsConfigFailure());
|
||||
|
@ -22,7 +22,7 @@ class Encryption extends Component {
|
||||
|
||||
return (
|
||||
<div className="encryption">
|
||||
{encryption && !encryption.processing &&
|
||||
{encryption &&
|
||||
<Card
|
||||
title={t('encryption_title')}
|
||||
subtitle={t('encryption_desc')}
|
||||
|
@ -327,6 +327,8 @@ const encryption = handleActions({
|
||||
}, {
|
||||
processing: true,
|
||||
processingConfig: false,
|
||||
status_cert: '',
|
||||
status_key: '',
|
||||
});
|
||||
|
||||
export default combineReducers({
|
||||
|
Loading…
Reference in New Issue
Block a user