We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db847f commit 756e89eCopy full SHA for 756e89e
addon/instance-initializers/route-styles.js
@@ -8,7 +8,7 @@ export function initialize(appInstance) {
8
});
9
10
router.on('routeWillChange', function(transition) {
11
- if (/_loading$/.test(transition.to.name) && transition.isActive) {
+ if (transition.to && /_loading$/.test(transition.to.name) && transition.isActive) {
12
const routeNames = nestedRouteNames(transition.to)
13
// loading route names are set with an _loading even though
14
// their path is -loading
0 commit comments