From 07a6fde067f9e79f75473f34a51aa4dd1e97daa9 Mon Sep 17 00:00:00 2001 From: Sunny Gleason Date: Mon, 23 Dec 2019 14:40:21 -0500 Subject: [PATCH] fix: tds stage finished soon -> finished (fixes #565) --- src/v2/components/TourDeSol/Stage.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/v2/components/TourDeSol/Stage.jsx b/src/v2/components/TourDeSol/Stage.jsx index f14477fc..5dd38adc 100644 --- a/src/v2/components/TourDeSol/Stage.jsx +++ b/src/v2/components/TourDeSol/Stage.jsx @@ -29,9 +29,7 @@ const Stage = ({className, activeClass, stage, activeStage}: StageProps) => { const stageDateStart = stage.isTbd ? 'SOON' : format(new Date(stage.startDate), 'P'); - const stageDateEnd = stage.isTbd - ? 'SOON' - : format(new Date(stage.endDate), 'P'); + const stageDateEnd = stage.isTbd ? '' : format(new Date(stage.endDate), 'P'); return (
  • @@ -39,7 +37,9 @@ const Stage = ({className, activeClass, stage, activeStage}: StageProps) => { {stage.title} {isActive && '(LIVE!)'} {isActive && }
    - {isFinished && (finished {stageDateEnd})} + {isFinished && ( + (finished{stageDateEnd && ' ' + stageDateEnd}) + )} {!isActive && !isFinished && (coming {stageDateStart})}