From 6f014fa53d2a7df4a1b035a0c15097f448e17656 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Thu, 28 Mar 2019 11:53:39 +0300 Subject: [PATCH] - client: fix settings page if current interface doesn't exist Closes #664 --- client/src/components/Settings/Dhcp/Interface.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/components/Settings/Dhcp/Interface.js b/client/src/components/Settings/Dhcp/Interface.js index e5814205..3b9d3e03 100644 --- a/client/src/components/Settings/Dhcp/Interface.js +++ b/client/src/components/Settings/Dhcp/Interface.js @@ -78,7 +78,8 @@ let Interface = (props) => { {interfaceValue &&
- {renderInterfaceValues(interfaces[interfaceValue])} + {interfaces[interfaceValue] && + renderInterfaceValues(interfaces[interfaceValue])}
}