fix(admin): add cursor-pointer to comment status filter buttons
This commit is contained in:
parent
dbe95f1173
commit
a1aef5bda9
@ -138,7 +138,7 @@ pub fn AdminCommentsPage(page: i32) -> Element {
|
|||||||
]
|
]
|
||||||
{
|
{
|
||||||
button {
|
button {
|
||||||
class: if active_filter() == status { "px-4 py-2 text-sm font-medium border-b-2 border-paper-accent text-paper-primary" } else { "px-4 py-2 text-sm font-medium text-paper-secondary hover:text-paper-primary transition-colors" },
|
class: if active_filter() == status { "cursor-pointer px-4 py-2 text-sm font-medium border-b-2 border-paper-accent text-paper-primary" } else { "cursor-pointer px-4 py-2 text-sm font-medium text-paper-secondary hover:text-paper-primary transition-colors" },
|
||||||
onclick: move |_| active_filter.set(status.to_string()),
|
onclick: move |_| active_filter.set(status.to_string()),
|
||||||
"{label}"
|
"{label}"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user