diff --git a/changelog.md b/changelog.md index b4e92d48..bc8c45ed 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +## Version 0.17.4 + - Hide update button in container + - Fix issue with allowHTTPLocal and the TCP Proxy + ## Version 0.17.3 - fix race condition with the monitoring diff --git a/client/src/pages/config/users/configman.jsx b/client/src/pages/config/users/configman.jsx index 70c3ba20..272698b7 100644 --- a/client/src/pages/config/users/configman.jsx +++ b/client/src/pages/config/users/configman.jsx @@ -43,6 +43,7 @@ import { FilePickerButton } from '../../../components/filePicker'; const ConfigManagement = () => { const { t } = useTranslation(); const [config, setConfig] = React.useState(null); + const [status, setStatus] = React.useState(null); const [openModal, setOpenModal] = React.useState(false); const [openResartModal, setOpenRestartModal] = React.useState(false); const [uploadingBackground, setUploadingBackground] = React.useState(false); @@ -54,6 +55,10 @@ const ConfigManagement = () => { API.config.get().then((res) => { setConfig(res.data); }); + + API.getStatus().then((res) => { + setStatus(res.data); + }); } function getRouteDomain(domain) { @@ -289,19 +294,20 @@ const ConfigManagement = () => { {t('mgmt.config.general.configFileInfo')} - + {status && !status.containerized && <> + - + } 1 { + target = destinationArr[1] + listenProtocol = destinationArr[0] + } else { + target = destinationArr[0] + } + + fmt.Println(listenProtocol) + fmt.Println(target) +} \ No newline at end of file