diff --git a/WebApplication/src/components/StudyItem.vue b/WebApplication/src/components/StudyItem.vue index d644db2..64a7c50 100644 --- a/WebApplication/src/components/StudyItem.vue +++ b/WebApplication/src/components/StudyItem.vue @@ -112,10 +112,10 @@ export default { return dateHelpers.formatDateForDisplay(this.study.MainDicomTags.StudyDate, this.uiOptions.DateFormat); }, seriesCount() { - if (this.study.sourceType == SourceType.LOCAL_ORTHANC) { - return this.study.Series.length; - } else if (this.study.sourceType == SourceType.REMOTE_DICOM || this.study.sourceType == SourceType.REMOTE_DICOM_WEB) { + if (this.study.sourceType == SourceType.REMOTE_DICOM || this.study.sourceType == SourceType.REMOTE_DICOM_WEB) { return this.study.MainDicomTags.NumberOfStudyRelatedSeries; + } else if (this.study.Series) { + return this.study.Series.length; } } }, diff --git a/release-notes.md b/release-notes.md index 718bd2a..6b94895 100644 --- a/release-notes.md +++ b/release-notes.md @@ -3,6 +3,8 @@ Pending changes Fixes: - Fixed the "UiOptions.EnableApiView" that was not taken into account. The API View button was always visible. + - [Issue #65](https://github.com/orthanc-server/orthanc-explorer-2/issues/65) SeriesCount column is empty. + 1.6.0 (2024-08-02) ==================