Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
Display a tag in 'Ongoing' state programs (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumuditha-udayanga authored and Gravewalker666 committed Jul 16, 2021
1 parent 4e6693a commit f40cdb2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/scenes/Home/components/ActivePrograms/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ function ActivePrograms() {
Mentor Confirmation Period
</Tag>
) : null}
{program.state === 'ONGOING' && !isUserAdmin && (
<Tag className={styles.tag} color="green">
Ongoing
</Tag>
)}
<Paragraph>{program.headline}</Paragraph>
</Card>
</Col>
Expand Down

0 comments on commit f40cdb2

Please sign in to comment.