From ceed9e6e13353b6bfc29fd0970efb456a1e3387f Mon Sep 17 00:00:00 2001 From: Yannis Barlas Date: Wed, 27 Feb 2019 15:26:44 +0200 Subject: [PATCH] feat(preview): show laboratory under 'additional data' --- app/components/ui/ArticlePreview.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/components/ui/ArticlePreview.js b/app/components/ui/ArticlePreview.js index 6302106a..477f9914 100644 --- a/app/components/ui/ArticlePreview.js +++ b/app/components/ui/ArticlePreview.js @@ -245,7 +245,7 @@ const Preview = props => { geneExpression, image, imageCaption, - // laboratory, + laboratory, methods, patternDescription, references, @@ -269,7 +269,7 @@ const Preview = props => { const sortedAuthors = sortBy(authors, 'submittingAuthor') const authorNames = mapAuthorsToValues(sortedAuthors, 'name') const affiliations = mapAuthorsToValues(sortedAuthors, 'affiliations') - // const lab = laboratory && laboratory.name + const lab = laboratory && laboratory.name const metadata = makeMetadataDisplayValues(geneExpression) const imageSource = @@ -338,6 +338,8 @@ const Preview = props => { )} + {lab && } + {suggestedReviewer && (