Skip to content

Commit

Permalink
Merge pull request #561 from Sage-Bionetworks/develop-fix-559
Browse files Browse the repository at this point in the history
Fix #559
  • Loading branch information
tschaffter authored Oct 3, 2019
2 parents 268c405 + 9e54bfd commit cd5aa36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/app/tool/tool-home/tool-home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ export class ToolHomeComponent implements OnInit, OnDestroy {
}

openTool(tool: Tool): void {
window.open(`${tool.website}?portal_token=${this.tokenService.get()}`, '_blank');
if (tool._id === '5cb7acb3167e4f14b29dfb1b') { // TODO To remove when developing way to interact with tools
window.open(`${tool.website}?portal_token=${this.tokenService.get()}`, '_blank');
} else {
window.open(tool.website, '_blank');
}
}
}

0 comments on commit cd5aa36

Please sign in to comment.