diff --git a/client/src/pages/Dashboard.tsx b/client/src/pages/Dashboard.tsx index 8080ba9..463854a 100644 --- a/client/src/pages/Dashboard.tsx +++ b/client/src/pages/Dashboard.tsx @@ -568,18 +568,23 @@ export default function Dashboard() { Aucun magasin ) : (
- {participatingStores.map((participation: any) => ( - - {participation.group.name} - - ))} + {participatingStores.map((participation: any) => { + const isCurrentStore = selectedStoreId && participation.groupId === parseInt(selectedStoreId.toString()); + const groupColor = participation.group?.color || '#1976D2'; + + return ( + + {participation.group.name} + + ); + })}
)}