Skip to content

Commit

Permalink
Merge pull request #2564 from woocommerce/update/2537-swap-dashboard-…
Browse files Browse the repository at this point in the history
…cards

2537: Swap performance cards.
  • Loading branch information
joemcgill authored Sep 4, 2024
2 parents 315fce2 + 5c62798 commit 0423844
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions js/src/dashboard/summary-section/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,21 @@ export default function SummarySection() {
return (
<>
<SummaryCard
title={ __(
'Performance (Free Listing)',
'google-listings-and-ads'
) }
title={ __( 'Google Ads', 'google-listings-and-ads' ) }
>
<FreePerformanceCard />
{ adsSetupComplete ? (
<PaidPerformanceCard />
) : (
<PaidCampaignPromotionCard />
) }
</SummaryCard>
<SummaryCard
title={ __(
'Performance (Paid Campaigns)',
'Free Listings (Limited Visibility)',
'google-listings-and-ads'
) }
>
{ adsSetupComplete ? (
<PaidPerformanceCard />
) : (
<PaidCampaignPromotionCard />
) }
<FreePerformanceCard />
</SummaryCard>
</>
);
Expand Down

0 comments on commit 0423844

Please sign in to comment.