all: sync with master; upd chlog
This commit is contained in:
@@ -49,6 +49,9 @@ export const setTlsConfig = (config) => async (dispatch, getState) => {
|
||||
|
||||
const dnsStatus = await apiClient.getGlobalStatus();
|
||||
if (dnsStatus) {
|
||||
if (dnsStatus.protection_disabled_duration === 0) {
|
||||
dnsStatus.protection_disabled_duration = null;
|
||||
}
|
||||
dispatch(dnsStatusSuccess(dnsStatus));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user