feat(ticket): show open and closed status in ticket list

This commit is contained in:
2026-08-06 17:10:10 +05:30
parent 8ab9240b77
commit c8899c191e
4 changed files with 15 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ function buildTicketListItem(
chainage_name: event.chainage_name ?? null,
default_defect_class: event.default_defect_class ?? null,
detection_count: event.detection_count,
is_closed: event.is_closed ?? false,
created_by_name: event.created_by_name ?? null,
created_by_email: event.created_by_email ?? null,
created_at: event.created_at ?? event.updated_at,
@@ -124,6 +125,7 @@ function mergeTicketListItem(
default_defect_class:
event.default_defect_class ?? current.default_defect_class,
detection_count: event.detection_count ?? current.detection_count,
is_closed: event.is_closed ?? current.is_closed,
created_by_name: event.created_by_name ?? current.created_by_name,
created_by_email: event.created_by_email ?? current.created_by_email,
created_at: event.created_at ?? current.created_at,