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: {