CodeChefVIT / CodeChefVIT/Common-Entry-Test
Display status of test on home page.
Open
bug
enhancement
feature_request
good first issue
help wanted
Minor Version
- Dominant language
- HTML
- Stars
- 18
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
On the main students page where students see all the featured clubs through the [ClubCarousel.js component](https://github.com/CodeChefVIT/cetFrontend/blob/master/src/components/Student/ClubCarousel/ClubCarousel.js), we display whether there is an active test or not based upon the `numOfTestsPublished` variable (none if 0 and an icon if >=1).
Change the logic to display the icon only when `numOfTestsPublished`>0 as well as if the active tests have not ended (the test end time shouldn't have passed).
Contributor guide
Assessment
This issue has not been assessed yet.