This commit is contained in:
Dominic Ferrando
2025-04-25 17:18:52 -04:00
parent 4bad0929c2
commit 964bd779e7
5 changed files with 2 additions and 9 deletions
-7
View File
@@ -165,13 +165,6 @@ templ ThreadsCatalog(previews []CatalogThreadPreview, catalogContext CatalogCont
Lock
}
</button>
<button
class="link-button"
hx-delete={ fmt.Sprintf("/admin/threads/%d", preview.ThreadId) }
hx-swap="none"
_="on htmx:afterRequest trigger refreshPosts on body"
hx-confirm="Are you sure you wish to delete this thread?"
>Delete</button>
<button
class="admin-dialog-close-btn link-button"
_={ fmt.Sprintf("on click call #%s-dialog.close()", elThreadId) }