From 4e75ed3dbcf6239130d9d6713de703f21b82d7f0 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 18 Apr 2024 05:30:46 +0200 Subject: [PATCH] fix(web): pretty uris to go to replies and actors --- web/src/view.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/view.rs b/web/src/view.rs index 26274ad..30f8430 100644 --- a/web/src/view.rs +++ b/web/src/view.rs @@ -61,7 +61,7 @@ pub fn ActorBanner( ) -> impl IntoView { match object { serde_json::Value::String(id) => view! { -
{id}
+
?" "{Uri::pretty(&id)}
}, serde_json::Value::Object(_) => { let uid = object.id().unwrap_or_default().to_string(); @@ -106,7 +106,7 @@ pub fn Object(object: serde_json::Value) -> impl IntoView { Some(view! { - "in reply to "{Uri::pretty(&in_reply_to)} + "in reply to "{Uri::pretty(&in_reply_to)} })