CodeChefVIT / CodeChefVIT/Common-Entry-Test

Display status of test on home page.

Aperta
#65 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug enhancement feature_request good first issue help wanted Minor Version
Lingua principale
HTML
Stelle
18
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.