mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
fix reload target uri
This commit is contained in:
parent
aaec6d6507
commit
078de72c89
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ impl Reload for Button {
|
||||||
let request = request.clone();
|
let request = request.clone();
|
||||||
let window_action = window_action.clone();
|
let window_action = window_action.clone();
|
||||||
move |_, _, _, _| {
|
move |_, _, _, _| {
|
||||||
if let Some(uri) = request.home() {
|
if let Some(uri) = request.uri() {
|
||||||
window_action.append.activate_stateful_once(
|
window_action.append.activate_stateful_once(
|
||||||
Position::After,
|
Position::After,
|
||||||
Some(uri.to_string()),
|
Some(uri.to_string()),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue