From 992b1e0630850cd16f45d792f86ee9af1ccd5c69 Mon Sep 17 00:00:00 2001 From: SKP Date: Wed, 17 Jul 2019 20:22:23 +0200 Subject: [PATCH] Fixed: deactivated bug --- cyphernodeconf_docker/lib/app.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cyphernodeconf_docker/lib/app.js b/cyphernodeconf_docker/lib/app.js index a9d12ee..e9cb672 100644 --- a/cyphernodeconf_docker/lib/app.js +++ b/cyphernodeconf_docker/lib/app.js @@ -213,8 +213,8 @@ module.exports = class App { this.config.data.adminhash = await htpasswd(this.sessionData.configurationPassword); - for( let c of this.features ) { - c.checked = this.isChecked( 'features', c.value ); + for( let feature of this.features ) { + feature.checked = this.isChecked( 'features', feature.value ); } } @@ -384,6 +384,11 @@ module.exports = class App { } installationInfo() { + + for( let feature of this.features ) { + feature.checked = this.isChecked( 'features', feature.value ); + } + const cert = new Cert(); const gatekeeper_cns = cert.cns( this.config.data.gatekeeper_cns );