Detail view missing place/building/floor fields #49

Closed
opened 2026-05-29 04:26:23 +00:00 by shawn · 0 comments
Owner

Problem

Location fields (place, building_name, building_number, floor, room, trailer_number) were visible in the asset list cards but absent from the detail view's main Asset Details card. Users had to scroll to the collapsed Directions card to see them.

Fix

Added place, building_name, building_number, floor, room, trailer_number to the detailFields array in viewAsset(). The df() helper skips empty values, so only populated fields render.

Commits

## Problem Location fields (place, building_name, building_number, floor, room, trailer_number) were visible in the asset list cards but absent from the detail view's main Asset Details card. Users had to scroll to the collapsed Directions card to see them. ## Fix Added `place`, `building_name`, `building_number`, `floor`, `room`, `trailer_number` to the `detailFields` array in `viewAsset()`. The `df()` helper skips empty values, so only populated fields render. ## Commits - 5180d81
shawn closed this issue 2026-05-29 04:26:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-asset-tracker#49