feat: Add checkbox for sightbar entity + fix build errors

This commit is contained in:
2025-06-09 18:48:25 +03:00
parent 2ca1f2cba4
commit e2e750877a
25 changed files with 302 additions and 269 deletions

View File

@ -31,7 +31,7 @@ export const VehicleCreatePage = observer(() => {
setIsLoading(true);
await vehicleStore.createVehicle(
Number(tailNumber),
type,
Number(type),
carrierStore.carriers.data.find((c) => c.id === carrierId)?.full_name!,
carrierId!
);