CodeChefVIT / CodeChefVIT/Common-Entry-Test

Display status of test on home page.

未关闭
#65 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug enhancement feature_request good first issue help wanted Minor Version
主要语言
HTML
星标
18
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。