mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Fixing isssues usins AI
This commit is contained in:
@@ -472,7 +472,13 @@ export default function SeatsPage() {
|
||||
// For package bookings both legs always use the same coach type — mirror the
|
||||
// switch to the inbound schedule so the auto-assign fetches the right seatmap.
|
||||
if (isPackageBooking && inboundSchedule) {
|
||||
setInboundSchedule({ ...(inboundSchedule as any), ...updatedSchedule, id: inboundSchedule.id });
|
||||
setInboundSchedule({
|
||||
...(inboundSchedule as any),
|
||||
...updatedSchedule,
|
||||
id: inboundSchedule.id,
|
||||
originStationId: (inboundSchedule as any).originStationId,
|
||||
destinationStationId: (inboundSchedule as any).destinationStationId,
|
||||
});
|
||||
}
|
||||
} else {
|
||||
setSelectedSchedule(updatedSchedule);
|
||||
|
||||
Reference in New Issue
Block a user