From bd0e3a3c11969c826a8a2e27627e24f77c474d07 Mon Sep 17 00:00:00 2001 From: Chris Thielen Date: Fri, 17 Jun 2016 16:26:02 -0500 Subject: [PATCH] fix(redirect): fix bug where redirected transitions with reload: true got wrong resolve values copied --- src/transition/transition.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transition/transition.ts b/src/transition/transition.ts index b3b8403b1..425b4559a 100644 --- a/src/transition/transition.ts +++ b/src/transition/transition.ts @@ -328,7 +328,7 @@ export class Transition implements IHookRegistry { // --------------------------------------------------------- const nodeIsReloading = (reloadState: State) => (node: PathNode) => { - return reloadState && reloadState.includes[node.state.name]; + return reloadState && node.state.includes[reloadState.name]; }; // Find any "entering" nodes in the redirect path that match the original path and aren't being reloaded