null pointer

This commit is contained in:
Noneangel
2025-08-19 19:11:10 +02:00
committed by GitHub
parent a387f705cf
commit a9f91656b5

View File

@@ -844,7 +844,7 @@
</div>
<div class="bg-white rounded-lg shadow p-4">
<p class="text-sm text-gray-500">Recent Bans</p>
<p class="text-2xl font-semibold text-gray-800">${data.lastBans.length}</p>
<p class="text-2xl font-semibold text-gray-800">${data.lastBans ? data.lastBans.length : 0}</p>
</div>
</div>
`;
@@ -1501,4 +1501,4 @@
</script>
</body>
</html>
</html>