mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature: cloudcmd: add ability to hide port configuration
This commit is contained in:
parent
2f0affd3a3
commit
a1216cddeb
7 changed files with 15 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue