Skip to content

Commit

Permalink
Clean up router.router fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
raido committed Sep 18, 2020
1 parent 0bb7d33 commit 1583326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/services/page-title-list.js
Expand Up @@ -194,7 +194,7 @@ export default Service.extend({

scheduleTitleUpdate() {
let router = getOwner(this).lookup('router:main');
let routes = router._routerMicrolib || router.router;
let routes = router._routerMicrolib;
let { activeTransition } = routes || {};
if (activeTransition) {
activeTransition.promise.finally(() => {
Expand Down

0 comments on commit 1583326

Please sign in to comment.