Skip to content

Commit 04dc0a9

Browse files
committed
Clean up router.router fallback
1 parent 0bb7d33 commit 04dc0a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

addon/services/page-title-list.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ export default Service.extend({
194194

195195
scheduleTitleUpdate() {
196196
let router = getOwner(this).lookup('router:main');
197-
let routes = router._routerMicrolib || router.router;
198-
let { activeTransition } = routes || {};
197+
let { activeTransition } = router._routerMicrolib;
199198
if (activeTransition) {
200199
activeTransition.promise.finally(() => {
201200
if (this.isDestroyed) {

0 commit comments

Comments
 (0)