diff --git a/components/AdsPerformance.tsx b/components/AdsPerformance.tsx index 17c9e39..bac4654 100644 --- a/components/AdsPerformance.tsx +++ b/components/AdsPerformance.tsx @@ -171,7 +171,7 @@ const AdsPerformance: React.FC = ({ data, filters }) => {

Performance Overview

-
+
{aggregatedByAsin.length} products • @@ -203,7 +203,7 @@ const AdsPerformance: React.FC = ({ data, filters }) => {

Product Inventory

-

+

{comparisonConfig ? `Comparing ${comparisonConfig.curr} vs ${comparisonConfig.prev}` : 'Displaying total data for selected filters.'}

@@ -245,7 +245,7 @@ const AdsPerformance: React.FC = ({ data, filters }) => {
{row.asin} SKU: {row.sku} - {row.title} + {row.title}
@@ -307,7 +307,9 @@ const SummaryCard = ({ {formatVal(value)} {prevValue !== undefined && (
- Prev: {formatVal(prevValue)} + + Prev: {formatVal(prevValue)} + {growth !== null && ( 0 ? !inverse : inverse) ? 'text-emerald-400' : 'text-rose-500'}`}> {growth > 0 ? '↑' : '↓'} {Math.abs(growth).toFixed(1)}% @@ -341,7 +343,9 @@ const TableCell = ({ value, prevValue, format, prefix = "", inverse = false, hig {formatVal(value)} {prevValue !== undefined && (
- Prev: {formatVal(prevValue)} + + Prev: {formatVal(prevValue)} + {growth !== null && ( 0 ? !inverse : inverse) ? 'text-emerald-400' : 'text-rose-400'}`}> {growth > 0 ? '+' : ''}{growth.toFixed(1)}%