From 38983097785c3d7f37c99cc2560512c4b342a201 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Wed, 30 Jan 2019 19:46:26 +0300 Subject: [PATCH] Request tls status after save --- client/src/actions/index.js | 1 + client/src/components/Settings/Encryption/index.js | 2 +- client/src/reducers/index.js | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/actions/index.js b/client/src/actions/index.js index 30527245..be4e4d7e 100644 --- a/client/src/actions/index.js +++ b/client/src/actions/index.js @@ -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()); diff --git a/client/src/components/Settings/Encryption/index.js b/client/src/components/Settings/Encryption/index.js index e554cc6f..0b67dfe9 100644 --- a/client/src/components/Settings/Encryption/index.js +++ b/client/src/components/Settings/Encryption/index.js @@ -22,7 +22,7 @@ class Encryption extends Component { return (
- {encryption && !encryption.processing && + {encryption &&