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

@@ -28,9 +28,9 @@ const renderInterfaces = ((interfaces) => (
flags,
} = option;
if (option && ip_addresses && ip_addresses.length > 0) {
if (option && ip_addresses?.length > 0) {
const ip = getInterfaceIp(option);
const isDown = flags && flags.includes('down');
const isDown = flags?.includes('down');
if (isDown) {
return (