diff --git a/web/src/components/object.rs b/web/src/components/object.rs
index b21b1d2e..62a02361 100644
--- a/web/src/components/object.rs
+++ b/web/src/components/object.rs
@@ -1,7 +1,7 @@
use leptos::*;
use crate::{prelude::*, URL_SENSITIVE};
-use apb::{target::Addressed, Base, Object};
+use apb::{target::Addressed, Base, Collection, Object};
#[component]
pub fn Attachment(
@@ -86,6 +86,18 @@ pub fn Object(object: serde_json::Value) -> impl IntoView {
let attachments = object.attachment()
.map(|x| view! { })
.collect_view();
+ let comments = object.replies().get()
+ .map(|x| x.total_items().unwrap_or(0))
+ .filter(|x| *x > 0)
+ .map(|x| view! { {x} });
+ let likes = object.audience().get()
+ .map(|x| x.total_items().unwrap_or(0))
+ .filter(|x| *x > 0)
+ .map(|x| view! { {x} });
+ let shares = object.generator().get()
+ .map(|x| x.total_items().unwrap_or(0))
+ .filter(|x| *x > 0)
+ .map(|x| view! { {x} });
let attachments_padding = if object.attachment().is_empty() {
None
} else {
@@ -114,6 +126,11 @@ pub fn Object(object: serde_json::Value) -> impl IntoView {
{attachments}
+
+ {comments}" 📨"
+ {likes}" ⭐"
+ {shares}" 🚀"
+
}
}