- 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

View File

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