Commit ceed9e6e authored by Yannis Barlas's avatar Yannis Barlas

feat(preview): show laboratory under 'additional data'

parent 093f9ccf
...@@ -245,7 +245,7 @@ const Preview = props => { ...@@ -245,7 +245,7 @@ const Preview = props => {
geneExpression, geneExpression,
image, image,
imageCaption, imageCaption,
// laboratory, laboratory,
methods, methods,
patternDescription, patternDescription,
references, references,
...@@ -269,7 +269,7 @@ const Preview = props => { ...@@ -269,7 +269,7 @@ const Preview = props => {
const sortedAuthors = sortBy(authors, 'submittingAuthor') const sortedAuthors = sortBy(authors, 'submittingAuthor')
const authorNames = mapAuthorsToValues(sortedAuthors, 'name') const authorNames = mapAuthorsToValues(sortedAuthors, 'name')
const affiliations = mapAuthorsToValues(sortedAuthors, 'affiliations') const affiliations = mapAuthorsToValues(sortedAuthors, 'affiliations')
// const lab = laboratory && laboratory.name const lab = laboratory && laboratory.name
const metadata = makeMetadataDisplayValues(geneExpression) const metadata = makeMetadataDisplayValues(geneExpression)
const imageSource = const imageSource =
...@@ -338,6 +338,8 @@ const Preview = props => { ...@@ -338,6 +338,8 @@ const Preview = props => {
</Section> </Section>
)} )}
{lab && <InlineData label="Laboratory" value={lab} />}
{suggestedReviewer && ( {suggestedReviewer && (
<Section> <Section>
<InlineData <InlineData
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment