Merge branch 'master' into 1587-cache-settings

This commit is contained in:
ArtemBaskal
2020-07-03 22:30:56 +03:00
27 changed files with 313 additions and 95 deletions

View File

@@ -32,7 +32,7 @@ class Dhcp extends Component {
const {
config, check, processingDhcp, processingConfig,
} = this.props.dhcp;
const otherDhcpFound = check && check.otherServer
const otherDhcpFound = check?.otherServer
&& check.otherServer.found === DHCP_STATUS_RESPONSE.YES;
const filledConfig = Object.keys(config).every((key) => {
if (key === 'enabled' || key === 'icmp_timeout_msec') {