fix: ip ban deletion through ui

This commit is contained in:
trisua 2025-05-21 23:56:22 -04:00
parent 829eef7f5d
commit f746290d97

View file

@ -28,7 +28,7 @@
<div class="card w-full flex flex-wrap gap-2">
<button
onclick="remove_report('{{ item.ip }}')"
onclick="remove_ipban('{{ item.ip }}')"
class="red quaternary"
>
{{ icon "trash" }}
@ -46,7 +46,7 @@
</main>
<script>
async function remove_ban(ip) {
async function remove_ipban(ip) {
if (
!(await trigger("atto::confirm", [
"Are you sure you would like to do this?",