diff --git a/src/components/ArticleDetails.tsx b/src/components/ArticleDetails.tsx index 1c49f3a..7a8fcb8 100644 --- a/src/components/ArticleDetails.tsx +++ b/src/components/ArticleDetails.tsx @@ -316,8 +316,7 @@ export function ArticleDetails({ data, onEdit, rowStatuses }: ArticleDetailsProp key={index} className={cn( "hover:bg-slate-700/20 transition-colors", - saveStatus === 'error' ? "bg-red-400/20 border-l-4 border-l-red-500" : - saveStatus === 'pending' ? "bg-yellow-400/20 border-l-4 border-l-yellow-400" : "" + "" )} > {row[COLUMNS.ARTICLE_NO]} diff --git a/src/components/CosmeticItemsView.tsx b/src/components/CosmeticItemsView.tsx index f5e7b87..317da17 100644 --- a/src/components/CosmeticItemsView.tsx +++ b/src/components/CosmeticItemsView.tsx @@ -273,7 +273,7 @@ export function CosmeticItemsView({ data, headers, onSaveRow, onCaptureState, ro key={articleNo || index} className={cn( "hover:bg-slate-700/20 transition-colors", - status === 'pending' && "bg-amber-500/5" + false )} > diff --git a/src/components/MissingDataView.tsx b/src/components/MissingDataView.tsx index 9b65103..5ec70b4 100644 --- a/src/components/MissingDataView.tsx +++ b/src/components/MissingDataView.tsx @@ -461,10 +461,10 @@ export function MissingDataView({ data, headers, onSaveRow, onCaptureState }: Mi {paginatedData.map(({ row, index, status, daysUntil }) => ( {row[COLUMNS.ARTICLE_NO]} diff --git a/src/components/ProductDescriptions.tsx b/src/components/ProductDescriptions.tsx index 631331e..2e8f71e 100644 --- a/src/components/ProductDescriptions.tsx +++ b/src/components/ProductDescriptions.tsx @@ -192,8 +192,7 @@ export function ProductDescriptions({ data, headers, asinColumnIndex, onEdit, ro ]; const filled = fields.filter(Boolean).length; if (filled === 4) return 'bg-green-900/10 hover:bg-green-900/20'; - if (filled === 0) return 'bg-red-900/10 hover:bg-red-900/20'; - return 'bg-yellow-900/10 hover:bg-yellow-900/20'; + return ''; }; const Badge = ({ content, row }: { content: any, row: ExcelRow }) => { @@ -380,8 +379,7 @@ export function ProductDescriptions({ data, headers, asinColumnIndex, onEdit, ro className={cn( "transition-colors", getRowColor(row), - saveStatus === 'error' ? "bg-red-400/20 border-l-4 border-l-red-500" : - saveStatus === 'pending' ? "bg-yellow-400/20 border-l-4 border-l-yellow-400" : "" + "" )} > {row[COLUMNS.ARTICLE_NO]}