From 4d7fc5880e55f6b0eb62a00b17f2f941a2840f10 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Wed, 1 Jan 2025 12:45:22 -0300 Subject: [PATCH] chore: identation Signed-off-by: Vitor Mattos --- src/views/Settings/RootCertificateCfssl.vue | 3 ++- src/views/Settings/RootCertificateOpenSsl.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/Settings/RootCertificateCfssl.vue b/src/views/Settings/RootCertificateCfssl.vue index 17ca76fb5..b1b39ea6e 100644 --- a/src/views/Settings/RootCertificateCfssl.vue +++ b/src/views/Settings/RootCertificateCfssl.vue @@ -246,7 +246,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?.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 07aa2564c..96e7a48d9 100644 --- a/src/views/Settings/RootCertificateOpenSsl.vue +++ b/src/views/Settings/RootCertificateOpenSsl.vue @@ -231,7 +231,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() }