mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-11 13:47:05 +02:00
@@ -19,7 +19,6 @@ package fail2ban
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"os"
|
||||
"os/exec"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user