CodeChefVIT / CodeChefVIT/Common-Entry-Test

Display status of test on home page.

Open
#65 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.