The VIN Number field in VehicleDetailPage.tsx incorrectly displayed the license plate value when VIN was empty. This was confusing because the field label says "VIN Number" but showed a license plate.
Changes
Removed || vehicle.licensePlate fallback from VIN field (line 390)
Removed isRequired prop since VIN is optional (vehicles can have license plate only)
VIN field now shows "Not provided" for missing values (handled by DetailField component)
Consistency
Desktop detail view now matches mobile behavior (VehicleDetailMobile.tsx already handles VIN correctly)
License plate continues to be displayed in its own dedicated field
Test Plan
View vehicle detail with VIN - should show VIN value
View vehicle detail without VIN - should show "Not provided"
License plate field should always show license plate (unchanged)
Mobile and desktop views behave consistently
Acceptance Criteria
VIN Number field shows only VIN value (or empty state when missing)
License plate displayed in its own field
Desktop and mobile detail views behave consistently
## Summary
Fixes #39
The VIN Number field in VehicleDetailPage.tsx incorrectly displayed the license plate value when VIN was empty. This was confusing because the field label says "VIN Number" but showed a license plate.
### Changes
- Removed `|| vehicle.licensePlate` fallback from VIN field (line 390)
- Removed `isRequired` prop since VIN is optional (vehicles can have license plate only)
- VIN field now shows "Not provided" for missing values (handled by DetailField component)
### Consistency
- Desktop detail view now matches mobile behavior (`VehicleDetailMobile.tsx` already handles VIN correctly)
- License plate continues to be displayed in its own dedicated field
## Test Plan
- [ ] View vehicle detail with VIN - should show VIN value
- [ ] View vehicle detail without VIN - should show "Not provided"
- [ ] License plate field should always show license plate (unchanged)
- [ ] Mobile and desktop views behave consistently
## Acceptance Criteria
- [x] VIN Number field shows only VIN value (or empty state when missing)
- [x] License plate displayed in its own field
- [x] Desktop and mobile detail views behave consistently
- [x] Lint and type-check pass
🤖 Generated with [Claude Code](https://claude.com/claude-code)
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 <[email protected]>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Fixes #39
The VIN Number field in VehicleDetailPage.tsx incorrectly displayed the license plate value when VIN was empty. This was confusing because the field label says "VIN Number" but showed a license plate.
Changes
|| vehicle.licensePlatefallback from VIN field (line 390)isRequiredprop since VIN is optional (vehicles can have license plate only)Consistency
VehicleDetailMobile.tsxalready handles VIN correctly)Test Plan
Acceptance Criteria
🤖 Generated with Claude Code