Fix the color of the table arrangements #285
@ -34,7 +34,7 @@ export class TableSimulationSerializer implements Serializable<TableSimulation>
|
|||||||
return new TableSimulation(data.id, data.tables.map((table: any) => {
|
return new TableSimulation(data.id, data.tables.map((table: any) => {
|
||||||
return {
|
return {
|
||||||
number: table.number,
|
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: {
|
||||||
discomfort: table.discomfort.discomfort,
|
discomfort: table.discomfort.discomfort,
|
||||||
breakdown: {
|
breakdown: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user