fix(dashboard): fix campaign end date (#8935)
what: - scopes the conditional to the right date attribute <img width="1027" alt="Screenshot 2024-09-02 at 11 47 09" src="https://github.com/user-attachments/assets/87048b93-e118-4548-80ee-2564bc2e56e5"> RESOLVES CC-68
This commit is contained in:
+1
-1
@@ -150,7 +150,7 @@ export const CampaignGeneralSection = ({
|
||||
</Text>
|
||||
|
||||
<Text size="small" leading="compact">
|
||||
{campaign.starts_at ? formatDate(campaign.ends_at) : "-"}
|
||||
{campaign.ends_at ? formatDate(campaign.ends_at) : "-"}
|
||||
</Text>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user