mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix navigation history snap on redirect
This commit is contained in:
parent
4998ec62c1
commit
8972ca17e1
1 changed files with 2 additions and 2 deletions
|
|
@ -560,7 +560,7 @@ fn handle(
|
||||||
.build();
|
.build();
|
||||||
b.connect_clicked({
|
b.connect_clicked({
|
||||||
let p = page.clone();
|
let p = page.clone();
|
||||||
move |_| p.item_action.load.activate(Some(&u), false, true)
|
move |_| p.item_action.load.activate(Some(&u), true, true)
|
||||||
});
|
});
|
||||||
b
|
b
|
||||||
}));
|
}));
|
||||||
|
|
@ -584,7 +584,7 @@ fn handle(
|
||||||
Redirect::Temporary { .. } => i.into_temporary_redirect(),
|
Redirect::Temporary { .. } => i.into_temporary_redirect(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
page.item_action.load.activate(Some(&t), false, true);
|
page.item_action.load.activate(Some(&t), true, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue