Skip to content

Commit

Permalink
fix(redirect): fix bug where redirected transitions with reload: true…
Browse files Browse the repository at this point in the history
… got wrong resolve values copied
  • Loading branch information
christopherthielen committed Jun 17, 2016
1 parent 6743a60 commit bd0e3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transition/transition.ts
Expand Up @@ -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
Expand Down

0 comments on commit bd0e3a3

Please sign in to comment.