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

@ -157,7 +157,7 @@ impl Page {
self.navigation.restore(transaction, &record.id)?;
// Make initial page history snap using `navigation` values restored
// * just to have back/forward navigation ability
if let Some(uri) = self.navigation.request.as_uri() {
if let Some(uri) = self.navigation.request.uri() {
self.profile.history.memory.request.set(uri);
}
}