fix: remove license plate fallback from VIN field (refs #39)
All checks were successful
Deploy to Staging / Build Images (pull_request) Successful in 2m46s
Deploy to Staging / Deploy to Staging (pull_request) Successful in 38s
Deploy to Staging / Verify Staging (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Ready (pull_request) Successful in 6s
Deploy to Staging / Notify Staging Failure (pull_request) Has been skipped

The VIN Number field incorrectly showed license plate when VIN was empty.
Now displays "Not provided" for missing VIN values, matching mobile behavior.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Eric Gullickson
2026-01-15 20:29:40 -06:00
parent 913e084127
commit fbc0186ea6

View File

@@ -387,8 +387,7 @@ export const VehicleDetailPage: React.FC = () => {
<form className="space-y-4"> <form className="space-y-4">
<DetailField <DetailField
label="VIN Number" label="VIN Number"
value={vehicle.vin || vehicle.licensePlate} value={vehicle.vin}
isRequired
/> />
{/* Vehicle Specification Section */} {/* Vehicle Specification Section */}