diff --git a/src/components/quality/InspectionManagement/actions.ts b/src/components/quality/InspectionManagement/actions.ts index 44b6c48c..a74c030a 100644 --- a/src/components/quality/InspectionManagement/actions.ts +++ b/src/components/quality/InspectionManagement/actions.ts @@ -255,7 +255,7 @@ function transformApiToFrontend(api: ProductInspectionApi): ProductInspection { constructionHeight: item.construction_height, changeReason: item.change_reason, documentId: item.document_id ?? null, - inspectionData: item.inspection_data || undefined, + inspectionData: item.inspection_data ? item.inspection_data as unknown as ProductInspectionData : undefined, })), requestDocumentId: api.request_document_id ?? null, };