From 39640d81903a0b252da0ade7b37e3e25edecdb3c Mon Sep 17 00:00:00 2001 From: Artem Baskal Date: Tue, 17 Dec 2019 17:46:59 +0300 Subject: [PATCH] - client: save in store dnsStatus even if running false --- client/src/actions/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/actions/index.js b/client/src/actions/index.js index 0cb022d4..9d64c071 100644 --- a/client/src/actions/index.js +++ b/client/src/actions/index.js @@ -245,8 +245,7 @@ export const getDnsStatus = () => async (dispatch) => { const handleRequestSuccess = (response) => { const dnsStatus = response.data; - const runningStatus = dnsStatus && dnsStatus.running; - if (runningStatus === true) { + if (dnsStatus) { dispatch(dnsStatusSuccess(dnsStatus)); dispatch(getVersion()); dispatch(getTlsStatus());