mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 12:35:24 +02:00
fix: cap prior year ad data to current week in Dashboard
Pass ytdFilteredAdsData instead of filteredAdsData so previous years are capped at the same max week as the current year, enabling like-for-like YoY advertising comparisons. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
43a532a6f0
commit
6426b641c1
@@ -854,7 +854,7 @@ const App: React.FC = () => {
|
|||||||
<Dashboard
|
<Dashboard
|
||||||
data={ytdAggregatedData}
|
data={ytdAggregatedData}
|
||||||
filterState={filters}
|
filterState={filters}
|
||||||
adsData={filteredAdsData}
|
adsData={ytdFilteredAdsData}
|
||||||
stockMap={stockMap}
|
stockMap={stockMap}
|
||||||
vendorStockMap={vendorStockMap}
|
vendorStockMap={vendorStockMap}
|
||||||
buyBoxLostMap={buyBoxLostMap}
|
buyBoxLostMap={buyBoxLostMap}
|
||||||
|
|||||||
Reference in New Issue
Block a user