Skip to content

Commit

Permalink
feat(ui): add studies archive tag (#2043)
Browse files Browse the repository at this point in the history
(cherry picked from commit 30c4171)
  • Loading branch information
hdinia authored and laurent-laporte-pro committed May 31, 2024
1 parent 500e865 commit 6e41ba7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions webapp/src/components/App/Studies/StudyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,14 @@ const StudyCard = memo((props: Props) => {
},
}}
>
{study.archived && (
<Chip
icon={<ArchiveOutlinedIcon />}
label="archive"
color="warning"
size="small"
/>
)}
{study.type === StudyType.VARIANT && (
<Chip
icon={<AltRouteOutlinedIcon />}
Expand Down

0 comments on commit 6e41ba7

Please sign in to comment.