[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2026-01-14 08:44:19 +00:00 committed by GitHub
parent e8046d22d0
commit 8b4eb33231
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -231,9 +231,7 @@ export default {
*/
formattedCertExpiryMessage(monitor) {
if (monitor?.element?.validCert && monitor?.element?.certExpiryDaysRemaining) {
return (
this.$t("days", monitor.element.certExpiryDaysRemaining)
);
return this.$t("days", monitor.element.certExpiryDaysRemaining);
} else if (monitor?.element?.validCert === false) {
return this.$t("noOrBadCertificate");
} else {