1
0
Fork 0
forked from alemi/upub

fix(web): no fetch query for context

This commit is contained in:
əlemi 2024-06-06 16:54:09 +02:00
parent e63433b77b
commit da68423a47
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -37,7 +37,7 @@ pub fn ObjectPage(tl: Timeline) -> impl IntoView {
} }
}; };
if let Ok(ctx) = obj.context().id() { if let Ok(ctx) = obj.context().id() {
let tl_url = format!("{}/context/page", Uri::api(U::Object, ctx, true)); let tl_url = format!("{}/context/page", Uri::api(U::Object, ctx, false));
if !tl.next.get().starts_with(&tl_url) { if !tl.next.get().starts_with(&tl_url) {
tl.reset(tl_url); tl.reset(tl_url);
} }