fix: ip ban deletion through ui
This commit is contained in:
parent
829eef7f5d
commit
f746290d97
1 changed files with 2 additions and 2 deletions
|
@ -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?",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue