From 4d1f83cc33eb6981976422973f66078e24174110 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 15 Jun 2025 12:32:06 +0200 Subject: [PATCH] Fix the color of the table arrangements --- app/lib/tableSimulation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/tableSimulation.tsx b/app/lib/tableSimulation.tsx index 1369569..493dbf1 100644 --- a/app/lib/tableSimulation.tsx +++ b/app/lib/tableSimulation.tsx @@ -34,7 +34,7 @@ export class TableSimulationSerializer implements Serializable return new TableSimulation(data.id, data.tables.map((table: any) => { return { number: table.number, - guests: table.guests.map((guest: any) => new Guest(guest.id, guest.name, guest.group?.name, guest.group?.id, guest.color)), + guests: table.guests.map((guest: any) => new Guest(guest.id, guest.name, guest.color, guest.status, [], guest.group)), discomfort: { discomfort: table.discomfort.discomfort, breakdown: {