feat: date range status function added

This commit is contained in:
Anmol Singh Bhatia 2023-03-03 11:32:00 +05:30
parent 8a941d0d14
commit 02e4e58f19
3 changed files with 18 additions and 34 deletions

View file

@ -128,7 +128,7 @@ export const CycleDetailsSidebar: React.FC<Props> = ({
<Squares2X2Icon className="h-4 w-4 flex-shrink-0" />
{cycleStatus === "current"
? "In Progress"
: cycleStatus === "completed"
: cycleStatus === "past"
? "Completed"
: cycleStatus === "upcoming"
? "Upcoming"