Compare commits
2 commits
e79061c294
...
c8b3774905
Author | SHA1 | Date | |
---|---|---|---|
c8b3774905 | |||
669240b87f |
3 changed files with 3 additions and 2 deletions
|
@ -168,6 +168,7 @@ impl Model {
|
||||||
.set_url(apb::Node::link(i.clone()))
|
.set_url(apb::Node::link(i.clone()))
|
||||||
)))
|
)))
|
||||||
.set_published(Some(self.published))
|
.set_published(Some(self.published))
|
||||||
|
.set_updated(if self.updated != self.published { Some(self.updated) } else { None })
|
||||||
.set_preferred_username(Some(&self.preferred_username))
|
.set_preferred_username(Some(&self.preferred_username))
|
||||||
.set_statuses_count(Some(self.statuses_count as u64))
|
.set_statuses_count(Some(self.statuses_count as u64))
|
||||||
.set_followers_count(Some(self.followers_count as u64))
|
.set_followers_count(Some(self.followers_count as u64))
|
||||||
|
|
|
@ -155,7 +155,7 @@ impl Model {
|
||||||
.set_conversation(apb::Node::maybe_link(self.context.clone())) // duplicate context for mastodon
|
.set_conversation(apb::Node::maybe_link(self.context.clone())) // duplicate context for mastodon
|
||||||
.set_in_reply_to(apb::Node::maybe_link(self.in_reply_to.clone()))
|
.set_in_reply_to(apb::Node::maybe_link(self.in_reply_to.clone()))
|
||||||
.set_published(Some(self.published))
|
.set_published(Some(self.published))
|
||||||
.set_updated(Some(self.updated))
|
.set_updated(if self.updated != self.published { Some(self.updated) } else { None })
|
||||||
.set_audience(apb::Node::maybe_link(self.audience))
|
.set_audience(apb::Node::maybe_link(self.audience))
|
||||||
.set_to(apb::Node::links(self.to.0.clone()))
|
.set_to(apb::Node::links(self.to.0.clone()))
|
||||||
.set_bto(apb::Node::Empty)
|
.set_bto(apb::Node::Empty)
|
||||||
|
|
|
@ -213,7 +213,7 @@ fn Scrollable() -> impl IntoView {
|
||||||
<a class="breadcrumb mr-1" href="javascript:history.back()" ><b>"<<"</b></a>
|
<a class="breadcrumb mr-1" href="javascript:history.back()" ><b>"<<"</b></a>
|
||||||
<b>{crate::NAME}</b>" :: "{breadcrumb}
|
<b>{crate::NAME}</b>" :: "{breadcrumb}
|
||||||
{move || relevant_timeline.get().map(|tl| view! {
|
{move || relevant_timeline.get().map(|tl| view! {
|
||||||
<a class="breadcrumb ml-1" href="#" on:click=move|_| tl.refresh() ><span class="emoji">"♻️"</span></a>
|
<a class="breadcrumb ml-1" href="#" on:click=move|_| tl.refresh() ><span class="emoji">"↺"</span></a>
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
<Outlet />
|
<Outlet />
|
||||||
|
|
Loading…
Reference in a new issue