cityofaustin / atd-mobile-signals-work-orders

Mobile Signals Work Orders app using React UI with Knack API
https://mobile-signals.austintexas.io
Other
3 stars 1 forks source link

Display supporting tech within Work Order Details #257

Closed mddilley closed 4 years ago

mddilley commented 4 years ago

Closes https://github.com/cityofaustin/atd-data-tech/issues/1402

This PR adds the support technician(s) field ~and extends renderDetailItem() in the WorkOrderDetails component to handle fields that return arrays of records from Knack~ (realized the existing code renders the HTML returned from the Knack API).

Test record with multiple support technicians: http://localhost:3000/work-orders/5e22233605c56c085d50d384 Test record with one support technician: http://localhost:3000/work-orders/5e22220305c56c085d506801/

New field in Work Order Details

image