mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
delegate home url parse to request component
This commit is contained in:
parent
eae35d5ab8
commit
137301200f
8 changed files with 56 additions and 88 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue