Skip to content
Snippets Groups Projects
Unverified Commit dd74d79f authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #925 from OpenTechFund/fix/add-submission-link-react-round-view

Add a link that opens the submission in a new tab on the react round view
parents 2425f851 f92c351c
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,8 @@ class DisplayPanel extends React.Component {
const { clearSubmission } = this.props;
const isMobile = width < 1024;
const { submissionID } = this.props;
const submissionLink = "/apply/submissions/" + submissionID + "/";
const submission = <CurrentSubmissionDisplay />
......@@ -60,6 +62,7 @@ class DisplayPanel extends React.Component {
<div className="display-panel__column">
<div className="display-panel__header display-panel__header--spacer"></div>
<div className="display-panel__body">
<a target="_blank" rel="noopener noreferrer" href={ submissionLink }>Open in new tab</a>
{ submission }
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment