Pull request: - client: 2326 Fix dhcp bug interfaces bug

Merge in DNS/adguard-home from fix/2326 to master

Closes #2326.

Squashed commit of the following:

commit 31f24d733eda747e161ddd44055591dbbc0752d7
Author: Artem Baskal <a.baskal@adguard.com>
Date:   Tue Nov 17 18:16:19 2020 +0300

    - client: 2326 Fix dhcp bug interfaces bug
This commit is contained in:
Ainar Garipov 2020-11-17 19:56:58 +03:00
parent 8a9c6e8a02
commit f2eda6d192
1 changed files with 2 additions and 2 deletions

View File

@ -72,12 +72,12 @@ const Interfaces = () => {
(store) => store.form[FORM_NAME.DHCP_INTERFACES]?.values?.interface_name,
);
const interfaceValue = interface_name && interfaces[interface_name];
if (processingInterfaces || !interfaces) {
return null;
}
const interfaceValue = interface_name && interfaces[interface_name];
return <div className="row dhcp__interfaces">
<div className="col col__dhcp">
<Field