From a9f91656b5796b2e082e84d2ab254989c1fe4762 Mon Sep 17 00:00:00 2001 From: Noneangel <1888627+Noneangel@users.noreply.github.com> Date: Tue, 19 Aug 2025 19:11:10 +0200 Subject: [PATCH] null pointer --- pkg/web/templates/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/web/templates/index.html b/pkg/web/templates/index.html index 0667a27..834ca3e 100644 --- a/pkg/web/templates/index.html +++ b/pkg/web/templates/index.html @@ -844,7 +844,7 @@
Recent Bans
-${data.lastBans.length}
+${data.lastBans ? data.lastBans.length : 0}