+
+
{look.name}
+
{look.items.length} {t('pieces')} • {new Date(look.createdAt).toLocaleDateString()}
+
+
+
+
+
+
-
-
-
-
+
+ {look.items.map(itemId => {
+ const item = clothes.find(c => c.id === itemId);
+ const inLaundry = item?.status === 'laundry';
+ return (
+
+

+ {inLaundry && (
+
+
+
+ )}
+
+ );
+ })}
+ {hasLaundryPieces && (
+
+
+
+ {look.items.filter(id => { const it = clothes.find(c => c.id === id); return it?.status === 'laundry'; }).length} peça(s) na lavandaria
+
+
+ )}
+
+ );
+ };
+
+ return (
+ <>
+ {/* Looks disponíveis */}
+
+
+
+
{t('lookHistory')} — Disponíveis ({availableLooks.length})
+
+ {availableLooks.length > 0 ? (
+
+ {availableLooks.map(renderLookCard)}
+
+ ) : (
+
Nenhum look disponível
+ )}
-
- {look.items.map(itemId => {
- const item = clothes.find(c => c.id === itemId);
- return (
-
-

-
- );
- })}
-
-
- ))}
-
+
+ {/* Looks com peças na lavandaria */}
+ {laundryLooks.length > 0 && (
+