feature: cloudcmd: add ability to hide port configuration

This commit is contained in:
coderiaser 2026-03-23 23:02:09 +02:00
parent 2f0affd3a3
commit a1216cddeb
7 changed files with 15 additions and 2 deletions

View file

@ -133,6 +133,7 @@ async function fillTemplate() {
columns,
theme,
configAuth,
configPort,
...obj
} = input.convert(config);
@ -142,6 +143,7 @@ async function fillTemplate() {
obj[`${columns}-selected`] = 'selected';
obj[`${theme}-selected`] = 'selected';
obj.configAuth = configAuth ? '' : 'hidden';
obj.configPort = configPort ? '' : 'hidden';
const innerHTML = rendy(Template, obj);