mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 13:15:24 +02:00
fix(DataGrid): show BuyBoxWarningBadge in title dimension
The badge was only rendered for dim==='asin'|'sku'. When pivoting by title (the default view) the BuyBox warning was silently absent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
37f9ffac2f
commit
4afae59de9
@@ -1390,6 +1390,7 @@ const DataGrid: React.FC<DataGridProps> = ({ data, filters, hasCustomerFilter, a
|
||||
<VendorStockBadge asin={row.asin} vendorStockMap={vendorStockMap} mode={top50Mode} avgWeeklySales={velocityMap?.get(row.asin.trim().toUpperCase())} />
|
||||
</>
|
||||
)}
|
||||
<BuyBoxWarningBadge asin={row.asin} buyBoxLostMap={buyBoxLostMap} />
|
||||
</div>
|
||||
: dim === 'asin' || dim === 'sku'
|
||||
? <div className="flex items-center gap-2 min-w-max">
|
||||
|
||||
Reference in New Issue
Block a user