fix(router): route change detection

This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
Manu Mtz.-Almeida
2018-03-27 01:32:47 +02:00
gitea-unlock(16/)
parent b26a56314b
commit 9e9f2a206f

2
core/src/components/router/utils/dom.ts
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();