diff --git a/src/views/Settings/RootCertificateCfssl.vue b/src/views/Settings/RootCertificateCfssl.vue index 603ec3d97f..38aa454ffc 100644 --- a/src/views/Settings/RootCertificateCfssl.vue +++ b/src/views/Settings/RootCertificateCfssl.vue @@ -25,7 +25,7 @@ -
+
@@ -65,7 +65,7 @@ -
+
0 && (this.certificate?.cfsslUri?.length > 0 || this.certificate.configPath.length > 0) + this.customData = loadState('libresign', 'config_path').length > 0 + && (this.certificate?.cfsslUri?.length > 0 || this.certificate.configPath.length > 0) if (this.certificate.generated) { this.afterCertificateGenerated() return diff --git a/src/views/Settings/RootCertificateOpenSsl.vue b/src/views/Settings/RootCertificateOpenSsl.vue index 0ad57264ce..19f8178b76 100644 --- a/src/views/Settings/RootCertificateOpenSsl.vue +++ b/src/views/Settings/RootCertificateOpenSsl.vue @@ -249,7 +249,8 @@ export default { throw new Error(response.data.ocs.data) } this.certificate = response.data.ocs.data - this.customData = loadState('libresign', 'config_path').length > 0 && this.certificate.configPath.length > 0 + this.customData = loadState('libresign', 'config_path').length > 0 + && this.certificate.configPath.length > 0 if (this.certificate.generated) { this.afterCertificateGenerated() }