diff --git a/lib/router/transition-intent/named-transition-intent.js b/lib/router/transition-intent/named-transition-intent.js index 4ff82c8b..8de04077 100644 --- a/lib/router/transition-intent/named-transition-intent.js +++ b/lib/router/transition-intent/named-transition-intent.js @@ -115,9 +115,9 @@ export default class NamedTransitionIntent extends TransitionIntent { ); var oldContext = oldHandlerInfo && oldHandlerInfo.context; if ( - result.names.length > 0 - && oldContext !== null - && newHandlerInfo.context === oldContext + result.names.length > 0 && + oldContext !== null && + newHandlerInfo.context === oldContext ) { // If contexts match in isActive test, assume params also match. // This allows for flexibility in not requiring that every last