Skip to content

Commit

Permalink
feat(ui): correct modal to allow different network with https enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
  • Loading branch information
andrey18106 committed Jan 7, 2025
1 parent 4dd86a5 commit 60f7752
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/DaemonConfig/ManageDaemonConfigModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
<NcInputField
id="deploy-config-net"
:value.sync="deployConfig.net"
:disabled="daemonProtocol === 'https'"
:placeholder="t('app_api', 'Docker network name')"
:aria-label="t('app_api', 'Docker network name')"
:helper-text="getNetworkHelperText || t('app_api', 'Docker network name')"
Expand Down Expand Up @@ -385,10 +384,6 @@ export default {
return this.isHaProxyPasswordValid ? t('app_api', 'AppAPI Docker Socket Proxy authentication password') : t('app_api', 'Password must be at least 12 characters long')
},
getNetworkHelperText() {
if (this.httpsEnabled) {
return t('app_api', 'With https enabled network is set to host')
}

if (this.isEdit && this.deployConfig.net !== this.daemon.deploy_config.net) {
return t('app_api', 'Changes would be applied only for newly installed ExApps. For existing ExApps, Docker containers should be recreated.')
}
Expand Down

0 comments on commit 60f7752

Please sign in to comment.