mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 22:44:24 +08:00
Add toggle to hide the uptime percentage on a statuspage
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user