diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index a4e18cea..7f652434 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1052,7 +1052,6 @@ export default { let imageId = imageIds[0] const imagePixelModule = metaData.get('imagePixelModule', imageId); const photometricInterpretation = imagePixelModule?.photometricInterpretation; - console.log(photometricInterpretation, 'photometricInterpretation') if (photometricInterpretation && photometricInterpretation !== 'MONOCHROME1' && photometricInterpretation !== 'MONOCHROME2') return this.$confirm(this.$t('trials:histogram:confirm:photometricInterpretationNotSupported')) this.histogramVisible = true this.setToolsPassive() diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue index b5595516..a498954d 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue @@ -74,9 +74,11 @@ #{{ series.SeriesNumber }} -
+
{{ series.Description }} -
+

{{ $t('trials:ptData:title') }}

@@ -198,6 +200,9 @@ export default { }, methods: { activeSeries(series, seriesIndex, studyIndex) { + const photometricInterpretation = series?.InstanceInfoList[0]?.PhotometricInterpretation; + if (!photometricInterpretation || (photometricInterpretation !== 'MONOCHROME1' && photometricInterpretation !== 'MONOCHROME2')) + return this.$confirm(this.$t('trials:histogram:confirm:activeSeriesPhotometricInterpretationNotSupported')) this.activeStudyIndex = studyIndex this.activeSeriesIndex = seriesIndex this.$emit('activeSeries', series) @@ -286,7 +291,7 @@ export default { line-height: 18px; } -.patient-info-popper .patient-info-row + .patient-info-row { +.patient-info-popper .patient-info-row+.patient-info-row { margin-top: 4px; }