mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-10-02 09:55:28 +02:00
fix: Top Movers table now responds to dashboard filters
Changed rawData prop from rawData to ytdFilteredData so the Top Movers component respects all active filters (customer, year, month, week, product line, SKU, title, ASIN, stock) Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
1 parent
b304e0ddb8
commit
167273e659
1 file changed
+1
-1
@@ -836,7 +836,7 @@ const App: React.FC = () => {
|
||||
<FilterBar filters={filters} onFilterChange={handleFilterChange} options={filterOptions} />
|
||||
<div className="mt-6">
|
||||
<div className={view === 'dashboard' ? '' : 'hidden'}>
|
||||
<Dashboard data={ytdAggregatedData} filterState={filters} adsData={ytdFilteredAdsData} stockMap={stockMap} rawData={rawData} />
|
||||
<Dashboard data={ytdAggregatedData} filterState={filters} adsData={ytdFilteredAdsData} stockMap={stockMap} rawData={ytdFilteredData} />
|
||||
</div>
|
||||
|
||||
<Suspense fallback={<LoadingSpinner />}>
|
||||
|
||||
Reference in new issue
Block a user