feat: add Top 50 filter button and badges to Ads Performance tab

This commit is contained in:
Christian Vidal Wolf
2026-01-26 10:51:30 +01:00
parent 6880634134
commit 3de971801d
2 changed files with 122 additions and 29 deletions
+1 -1
View File
@@ -531,7 +531,7 @@ const App: React.FC = () => {
{view === 'table' && <DataGrid data={combinedAdsData} hasCustomerFilter={filters.customer.length > 0} adsData={filteredAdsData} />}
{view === 'weekly' && <WeeklyGrid data={combinedAdsData} top50Ranking={top50Ranking2025} onDrillDown={handleSkuDrillDown} />}
{view === 'movers' && <TopMovers data={filteredData} />}
{view === 'ads' && <AdsPerformance data={combinedAdsData} filters={filters} />}
{view === 'ads' && <AdsPerformance data={combinedAdsData} filters={filters} top50Ranking={top50Ranking2025} />}
</Suspense>
</div>
</>