-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix collectionStartDate and add email
- Loading branch information
1 parent
6a1da77
commit 155c6cf
Showing
12 changed files
with
81 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; | |
import Popover from 'react-bootstrap/Popover'; | ||
import D from '../../i18n'; | ||
|
||
function Contacts() { | ||
function Contacts({email}) { | ||
const renderTooltip = ( | ||
<Popover id="popover-basic"> | ||
<Popover.Content> | ||
|
@@ -24,10 +24,10 @@ function Contacts() { | |
<tr | ||
className="Clickable" | ||
data-testid="mail-button" | ||
onClick={() => { window.location.assign('mailto:[email protected]'); }} | ||
onClick={() => { window.location.assign(`mailto:${email}`); }} | ||
> | ||
<th className="ContactsLeftHeader">{D.functionalBox}</th> | ||
<td className=" LightGreyLine MailLink">[email protected]</td> | ||
<td className=" LightGreyLine MailLink">{email}</td> | ||
</tr> | ||
</OverlayTrigger> | ||
<tr> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.