chore(work-orders): remove ticket key from mapper docs

This commit is contained in:
Codex Review Integration 2026-09-16 16:56:26 -03:00
parent e7f8772802
commit a75543342d

View file

@ -275,7 +275,7 @@ export function boardMediaItemsToMediaFiles(items: WorkOrderBoardMediaItem[]): M
/**
* `GET workorders/{id}/detail` info omits the board row's `MediaCount`, so the table-row mapper
* defaults it to 0 and the slide-over closability gate would report "At least 1 photo" even
* after an upload (SH-339). Keep an explicit count when present; otherwise count the same
* after an upload. Keep an explicit count when present; otherwise count the same
* set the board counts — stored (non-legacy) attachments.
*/
function resolveDetailMediaCount(