fix: edit buttons
All checks were successful
Deploy to Staging / Build Images (push) Successful in 2m33s
Deploy to Staging / Deploy to Staging (push) Successful in 36s
Deploy to Staging / Verify Staging (push) Successful in 6s
Deploy to Staging / Notify Staging Ready (push) Successful in 5s
Deploy to Staging / Notify Staging Failure (push) Has been skipped

This commit is contained in:
Eric Gullickson
2025-12-31 16:07:32 -06:00
parent 52f9414fd4
commit c27959f045
6 changed files with 100 additions and 12 deletions

View File

@@ -215,7 +215,7 @@ export const VehiclesPage: React.FC = () => {
<Grid item xs={12} md={6} lg={4} key={vehicle.id}>
<VehicleCard
vehicle={vehicle}
onEdit={(v) => console.log('Edit', v)}
onEdit={(v) => navigate(`/garage/vehicles/${v.id}?edit=true`)}
onDelete={handleDelete}
onSelect={handleSelectVehicle}
/>