1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 18:01:10 +00:00
This commit is contained in:
Felix Ableitner 2024-11-14 23:50:25 +01:00
parent 2bd2780939
commit 08e6db393b

View file

@ -47,7 +47,7 @@ pub fn Notifications() -> impl IntoView {
let notif_ = notif_.clone(); let notif_ = notif_.clone();
async move { async move {
if let ArticleApprovalRequired(a) = notif_ { if let ArticleApprovalRequired(a) = notif_ {
CLIENT.approve_article(a.id, true).await.unwrap(); CLIENT.approve_article(a.id, true).await.unwrap();
} }
notifications.refetch(); notifications.refetch();
} }