From 25367734c783f6624f4f530da0232ed5683a029f Mon Sep 17 00:00:00 2001 From: Riqwan Thamir Date: Mon, 2 Sep 2024 11:59:24 +0200 Subject: [PATCH] fix(dashboard): fix campaign end date (#8935) what: - scopes the conditional to the right date attribute Screenshot 2024-09-02 at 11 47 09 RESOLVES CC-68 --- .../campaign-general-section/campaign-general-section.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/admin-next/dashboard/src/routes/campaigns/campaign-detail/components/campaign-general-section/campaign-general-section.tsx b/packages/admin-next/dashboard/src/routes/campaigns/campaign-detail/components/campaign-general-section/campaign-general-section.tsx index 4dbe49cb6d..b6f317cc24 100644 --- a/packages/admin-next/dashboard/src/routes/campaigns/campaign-detail/components/campaign-general-section/campaign-general-section.tsx +++ b/packages/admin-next/dashboard/src/routes/campaigns/campaign-detail/components/campaign-general-section/campaign-general-section.tsx @@ -150,7 +150,7 @@ export const CampaignGeneralSection = ({ - {campaign.starts_at ? formatDate(campaign.ends_at) : "-"} + {campaign.ends_at ? formatDate(campaign.ends_at) : "-"}