mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-03 03:13:42 +08:00
fix(router): route change detection
This commit is contained in:
@ -6,7 +6,7 @@ export async function writeNavState(root: HTMLElement|undefined, chain: RouteCha
|
||||
|
||||
// make sure we can continue interating the DOM, otherwise abort
|
||||
if (!chain || index >= chain.length || !outlet) {
|
||||
return direction === 0;
|
||||
return changed;
|
||||
}
|
||||
await outlet.componentOnReady();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user