* client: disable DHCP check if server enabled and hide errors on disable

This commit is contained in:
Ildar Kamalov
2019-03-28 19:08:24 +03:00
committed by Simon Zolin
parent 24fc2957c5
commit 4b821d67f5
2 changed files with 5 additions and 2 deletions

View File

@@ -148,7 +148,8 @@ class Dhcp extends Component {
this.props.findActiveDhcp(dhcp.config.interface_name)
}
disabled={
!dhcp.config.interface_name
dhcp.config.enabled
|| !dhcp.config.interface_name
|| dhcp.processingConfig
}
>