Revert week logic and add debug tooltip to VendorStockBadge

This commit is contained in:
Christian Vidal Wolf
2026-01-28 11:50:59 +01:00
parent 090d06b78e
commit b3b8c4f967
2 changed files with 5 additions and 6 deletions
+4 -1
View File
@@ -76,7 +76,10 @@ export const VendorStockBadge: React.FC<VendorStockBadgeProps> = ({ asin, vendor
<span>{stock.toLocaleString('de-DE')}</span>
</div>
</div>
<span className={`text-[9px] font-black uppercase tracking-tight whitespace-nowrap ${wocColor}`}>
<span
className={`text-[9px] font-black uppercase tracking-tight whitespace-nowrap ${wocColor}`}
title={`Avg Sales (4wk): ${velocity.toFixed(2)} | Stock: ${stock}`}
>
{wocText}
</span>
</div>