Compare commits

..

No commits in common. "1e2829da253da2fd6a3e2c5afee102aa327157e8" and "8306cfe249770ed4b2f9b037386103d45803be52" have entirely different histories.

View File

@ -34,7 +34,7 @@ export class TableSimulationSerializer implements Serializable<TableSimulation>
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.color, guest.status, [], guest.group)),
guests: table.guests.map((guest: any) => new Guest(guest.id, guest.name, guest.group?.name, guest.group?.id, guest.color)),
discomfort: {
discomfort: table.discomfort.discomfort,
breakdown: {