delegate home url parse to request component

This commit is contained in:
yggverse 2025-01-22 20:52:34 +02:00
parent eae35d5ab8
commit 137301200f
8 changed files with 56 additions and 88 deletions

View file

@ -208,7 +208,7 @@ fn snap_history(subject: &Rc<Subject>, uri: Option<&Uri>) {
None => {
// this case especially useful for some routes that contain redirects
// maybe some parental optimization wanted @TODO
if let Some(uri) = subject.page.navigation.request.as_uri() {
if let Some(uri) = subject.page.navigation.request.uri() {
subject.page.profile.history.memory.request.set(uri);
}
}