fix(bugs): fix patient header for doc, track ball rotate resize observer and add segmentation button not being enabled on viewport data change (#4068)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-04-27 21:50:28 -04:00
1 parent b4ed80d99b
commit c09311d3b7
10 files changed
+107 -57

No files matched your search

@@ -47,12 +47,12 @@ function usePatientInfo(servicesManager) {
return;
}
setPatientInfo({
PatientID: instance.PatientID || '',
PatientName: instance.PatientName ? formatPN(instance.PatientName.Alphabetic) : '',
PatientSex: instance.PatientSex || '',
PatientDOB: formatDate(instance.PatientBirthDate) || '',
PatientID: instance.PatientID || null,
PatientName: instance.PatientName ? formatPN(instance.PatientName.Alphabetic) : null,
PatientSex: instance.PatientSex || null,
PatientDOB: formatDate(instance.PatientBirthDate) || null,
});
checkMixedPatients(instance.PatientID || '');
checkMixedPatients(instance.PatientID || null);
};
useEffect(() => {