conditional simplification as reqeusted

This commit is contained in:
Craig Lawson
2026-01-15 12:52:11 +00:00
parent f0a6fc4fdf
commit 420164d616
+1 -1
View File
@@ -265,7 +265,7 @@ class StatusPageModule {
const normalizedMonitors = monitors.map((monitor) => {
const normalizedChecks = this.NormalizeData(monitor.checks, 10, 100);
if (showURL !== true) {
if (!showURL) {
const { url, port, secret, notifications, ...rest } = monitor;
return { ...rest, checks: normalizedChecks };
}