Skip to content

Commit

Permalink
fix #65: SeriesCount column is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
amazy committed Aug 28, 2024
1 parent 55728b5 commit 8833c01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WebApplication/src/components/StudyItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
},
Expand Down
2 changes: 2 additions & 0 deletions release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
==================
Expand Down

0 comments on commit 8833c01

Please sign in to comment.