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:
parent
8a9c6e8a02
commit
f2eda6d192
|
@ -72,12 +72,12 @@ const Interfaces = () => {
|
||||||
(store) => store.form[FORM_NAME.DHCP_INTERFACES]?.values?.interface_name,
|
(store) => store.form[FORM_NAME.DHCP_INTERFACES]?.values?.interface_name,
|
||||||
);
|
);
|
||||||
|
|
||||||
const interfaceValue = interface_name && interfaces[interface_name];
|
|
||||||
|
|
||||||
if (processingInterfaces || !interfaces) {
|
if (processingInterfaces || !interfaces) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const interfaceValue = interface_name && interfaces[interface_name];
|
||||||
|
|
||||||
return <div className="row dhcp__interfaces">
|
return <div className="row dhcp__interfaces">
|
||||||
<div className="col col__dhcp">
|
<div className="col col__dhcp">
|
||||||
<Field
|
<Field
|
||||||
|
|
Loading…
Reference in New Issue