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());