fix(router): route change detection

This commit is contained in:
Manu Mtz.-Almeida
2018-03-27 01:32:47 +02:00
parent b26a56314b
commit 9e9f2a206f

View File

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