mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
apply request to page appended
This commit is contained in:
parent
6ccaf9d4c5
commit
7d638c3b76
1 changed files with 3 additions and 2 deletions
|
|
@ -105,10 +105,11 @@ impl Tab {
|
||||||
// Register dynamically created tab components in the HashMap index
|
// Register dynamically created tab components in the HashMap index
|
||||||
index.borrow_mut().insert(item.id(), item.clone());
|
index.borrow_mut().insert(item.id(), item.clone());
|
||||||
|
|
||||||
// Set navigation request
|
// Apply request
|
||||||
if let Some(variant) = request {
|
if let Some(variant) = request {
|
||||||
if let Some(value) = variant.get::<String>() {
|
if let Some(value) = variant.get::<String>() {
|
||||||
item.set_page_navigation_request_text(value.as_str())
|
item.set_page_navigation_request_text(value.as_str());
|
||||||
|
item.page_navigation_reload();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue