feat(web): group badges lead to local view

This commit is contained in:
əlemi 2024-07-03 04:24:40 +02:00
parent 32929f0909
commit 04ad3c84c2
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -134,7 +134,7 @@ pub fn Object(object: crate::Object) -> impl IntoView {
let audience_badge = object.audience().id().str()
.map(|x| view! {
<a class="clean dim" href={x.clone()} target="_blank" rel="nofollow noreferrer">
<a class="clean dim" href={Uri::web(U::Actor, &x)} rel="nofollow noreferrer">
<span
class="border-button"
title="this is a group: all interactions will be broadcasted to group members!"