From a79b61aac31db689a0d704bf356e67a6ea6f881e Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Thu, 31 Mar 2022 11:54:47 +0300 Subject: [PATCH] Pull request: fix down flag Squashed commit of the following: commit ea446e844a21e7e7e0271d4d133c581014facda1 Merge: bb8cabfa 5e71f5df Author: Ildar Kamalov Date: Thu Mar 31 10:49:20 2022 +0300 Merge branch 'master' into client-down-flag commit bb8cabfae8e2e3eaa09f48ffe7d2fb3b308d31fb Author: Ildar Kamalov Date: Wed Mar 30 19:27:30 2022 +0300 client: fix down flag --- client/src/install/Setup/Settings.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/install/Setup/Settings.js b/client/src/install/Setup/Settings.js index ce128fb8..234d345a 100644 --- a/client/src/install/Setup/Settings.js +++ b/client/src/install/Setup/Settings.js @@ -4,6 +4,7 @@ import PropTypes from 'prop-types'; import { Field, reduxForm, formValueSelector } from 'redux-form'; import { Trans, withTranslation } from 'react-i18next'; import flow from 'lodash/flow'; +import i18n from 'i18next'; import Controls from './Controls'; import AddressList from './AddressList'; @@ -31,10 +32,10 @@ const renderInterfaces = (interfaces) => Object.values(interfaces) if (option && ip_addresses?.length > 0) { const ip = getInterfaceIp(option); - const isDown = flags?.includes('down'); + const isUp = flags?.includes('up'); - return ; }