fix issue

This commit is contained in:
Marshal
2026-07-31 12:28:37 +00:00
parent 7e85c16141
commit 950d539e37
3 changed files with 62 additions and 4 deletions

View File

@@ -13,7 +13,9 @@ import {
History,
MapPin,
Minus,
PackageCheck,
PackageMinus,
PackageOpen,
Plus,
User,
} from "lucide-react";
@@ -29,6 +31,8 @@ const ACTION_META: Record<
REMOVE: { label: "Wagon trimmed", color: "red", icon: Minus },
SWITCH: { label: "Wagon switched", color: "blue", icon: ArrowLeftRight },
BOOKING_REMOVED: { label: "Booking removed", color: "orange", icon: PackageMinus },
BOOKING_LOADED: { label: "Booking loaded", color: "edr-green", icon: PackageCheck },
BOOKING_UNLOADED: { label: "Booking unloaded", color: "blue", icon: PackageOpen },
};
/**
@@ -57,8 +61,9 @@ export default function ScheduleHistoryPanel({ scheduleId }: { scheduleId: strin
Change history
</Text>
<Text size="sm" c="dimmed">
Wagons coupled, trimmed or switched and bookings removed after
this train was scheduled, newest first.
Wagons coupled, trimmed or switched, bookings loaded/unloaded per
yard, and bookings removed after this train was scheduled,
newest first.
</Text>
</Stack>
</Group>