- 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 dnsStatus = response.data;
|
||||
const runningStatus = dnsStatus && dnsStatus.running;
|
||||
if (runningStatus === true) {
|
||||
if (dnsStatus) {
|
||||
dispatch(dnsStatusSuccess(dnsStatus));
|
||||
dispatch(getVersion());
|
||||
dispatch(getTlsStatus());
|
||||
|
|
Loading…
Reference in New Issue