Add toggle to hide the uptime percentage on a statuspage

This commit is contained in:
Bas Wieringa
2024-03-15 15:54:29 +01:00
parent 0e3b3a9ab8
commit 201ac9245b
7 changed files with 42 additions and 4 deletions

View File

@@ -246,6 +246,7 @@ class StatusPage extends BeanModel {
showPoweredBy: !!this.show_powered_by,
googleAnalyticsId: this.google_analytics_tag_id,
showCertificateExpiry: !!this.show_certificate_expiry,
hideUptimePercentage: !!this.hide_uptime_percentage
};
}
@@ -268,6 +269,7 @@ class StatusPage extends BeanModel {
showPoweredBy: !!this.show_powered_by,
googleAnalyticsId: this.google_analytics_tag_id,
showCertificateExpiry: !!this.show_certificate_expiry,
hideUptimePercentage: !!this.hide_uptime_percentage
};
}