Skip to content

Commit

Permalink
chore: identation
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed Jan 1, 2025
1 parent 8a905f2 commit 4d7fc58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/views/Settings/RootCertificateCfssl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/views/Settings/RootCertificateOpenSsl.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 4d7fc58

Please sign in to comment.