CodeChefVIT / CodeChefVIT/Common-Entry-Test
Display status of test on home page.
Offen
bug
enhancement
feature_request
good first issue
help wanted
Minor Version
- Vorherrschende Sprache
- HTML
- Sterne
- 18
- Forks
- 10
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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).
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.