- client: save in store dnsStatus even if running false
This commit is contained in:
parent
242e5e136f
commit
39640d8190
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue