fix(web): object.object.id damn its late
This commit is contained in:
parent
64774b976d
commit
b543610ed3
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView {
|
||||||
children=move |object: serde_json::Value| {
|
children=move |object: serde_json::Value| {
|
||||||
match object.object_type() {
|
match object.object_type() {
|
||||||
Some(apb::ObjectType::Activity(apb::ActivityType::Create)) => {
|
Some(apb::ObjectType::Activity(apb::ActivityType::Create)) => {
|
||||||
let oid = object.id().unwrap_or_default().to_string();
|
let oid = object.object().id().unwrap_or_default().to_string();
|
||||||
if let Some(note) = CACHE.get(&oid) {
|
if let Some(note) = CACHE.get(&oid) {
|
||||||
view! {
|
view! {
|
||||||
<ActivityLine activity=object />
|
<ActivityLine activity=object />
|
||||||
|
|
Loading…
Reference in a new issue