Skip to content

Commit

Permalink
Sets the viewport object for the specified key on the instruction's c…
Browse files Browse the repository at this point in the history
…onfig object
  • Loading branch information
Roustalski authored and Watson, Russell committed Oct 4, 2016
1 parent 8ceb167 commit bac2f4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ function evaluateNavigationStrategy(instruction: NavigationInstruction, evaluato
for (let key in modules) {
let vp = instruction.config.viewPorts[key] || {};
vp.moduleId = modules[key];
instruction.config.viewPorts[key] = vp;
}

return instruction;
Expand Down

0 comments on commit bac2f4e

Please sign in to comment.