From cb8b1c7efb39a573d896075664da239c489361a0 Mon Sep 17 00:00:00 2001 From: Paul Bui-Quang Date: Wed, 19 Oct 2022 10:06:57 +0200 Subject: [PATCH] fix(ui): Set variant tag to lower case Signed-off-by: Paul Bui-Quang --- webapp/src/components/App/Studies/HeaderBottom.tsx | 2 +- webapp/src/components/App/Studies/StudyCard.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/App/Studies/HeaderBottom.tsx b/webapp/src/components/App/Studies/HeaderBottom.tsx index 394221c4d4..5024a1ee65 100644 --- a/webapp/src/components/App/Studies/HeaderBottom.tsx +++ b/webapp/src/components/App/Studies/HeaderBottom.tsx @@ -106,7 +106,7 @@ function HeaderBottom(props: PropTypes) { )} {filters.variant && ( setFilterValue("variant", false)} sx={{ mx: 1 }} diff --git a/webapp/src/components/App/Studies/StudyCard.tsx b/webapp/src/components/App/Studies/StudyCard.tsx index 0d454e62c4..80220d0974 100644 --- a/webapp/src/components/App/Studies/StudyCard.tsx +++ b/webapp/src/components/App/Studies/StudyCard.tsx @@ -356,7 +356,7 @@ const StudyCard = memo((props: Props) => { {study.type === StudyType.VARIANT && ( } - label={t("studies.variant")} + label={t("studies.variant").toLowerCase()} color="primary" /> )}