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}

`; @@ -1501,4 +1501,4 @@ - \ No newline at end of file +