improvement: Some improvements done. some bugs fixed.
This commit is contained in:
@@ -254,13 +254,8 @@ export function LabCasesDispatchPanel({
|
||||
}
|
||||
|
||||
const typeLabel = treatmentTypeLabelFromCatalog(activeDetail.treatmentType, treatmentCatalog);
|
||||
const connectedGroupIds = new Set(
|
||||
(activeDetail.toothSelectionGroups ?? [])
|
||||
.filter((group) => group.kind === 'connected')
|
||||
.map((group) => group.groupId),
|
||||
);
|
||||
const toothJobRows = activeLabCase
|
||||
? toothJobRowsForDetail(activeLabCase.toothProsthesis, activeDetailId, connectedGroupIds)
|
||||
? toothJobRowsForDetail(activeLabCase.toothProsthesis, activeDetailId)
|
||||
: [];
|
||||
const activeDetailAttachments = activeDetail.attachmentMetas ?? [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user