apply request to page appended

This commit is contained in:
yggverse 2024-10-14 06:45:05 +03:00
parent 6ccaf9d4c5
commit 7d638c3b76

View File

@ -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();
} }
} }
} }