- client: save in store dnsStatus even if running false

This commit is contained in:
Artem Baskal 2019-12-17 17:46:59 +03:00
parent 242e5e136f
commit 39640d8190
1 changed files with 1 additions and 2 deletions

View File

@ -245,8 +245,7 @@ export const getDnsStatus = () => async (dispatch) => {
const handleRequestSuccess = (response) => { const handleRequestSuccess = (response) => {
const dnsStatus = response.data; const dnsStatus = response.data;
const runningStatus = dnsStatus && dnsStatus.running; if (dnsStatus) {
if (runningStatus === true) {
dispatch(dnsStatusSuccess(dnsStatus)); dispatch(dnsStatusSuccess(dnsStatus));
dispatch(getVersion()); dispatch(getVersion());
dispatch(getTlsStatus()); dispatch(getTlsStatus());