diff --git a/server/model/monitor.js b/server/model/monitor.js index ed9505ba9..ddef056af 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -201,7 +201,7 @@ class Monitor extends BeanModel { } } return { - certExpiryDaysRemaining: "No/Bad Cert", + certExpiryDaysRemaining: "", validCert: false }; } diff --git a/server/model/status_page.js b/server/model/status_page.js index e69441328..e168acf2f 100644 --- a/server/model/status_page.js +++ b/server/model/status_page.js @@ -90,7 +90,6 @@ class StatusPage extends BeanModel { * @param {StatusPage} statusPage */ static async getStatusPageData(statusPage) { - const config = await statusPage.toPublicJSON(); // Incident diff --git a/src/components/PublicGroupList.vue b/src/components/PublicGroupList.vue index 3f93d8a5b..0ad693712 100644 --- a/src/components/PublicGroupList.vue +++ b/src/components/PublicGroupList.vue @@ -60,7 +60,7 @@ @click="$refs.monitorSettingDialog.show(group, monitor)" /> -
Expiry: {{ formatExpiry(monitor) }}
+ {{ $t("Expiry") }}: {{ formattedCertExpiryMessage(monitor) }}