Skip to content

Commit

Permalink
The study list header is now sticking on top of the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
amazy committed Dec 10, 2024
1 parent 5f20a15 commit 88dac84
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
11 changes: 9 additions & 2 deletions WebApplication/src/components/StudyList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,13 @@ export default {
},
hasPdfReportIcon() {
return this.sourceType == SourceType.LOCAL_ORTHANC && this.uiOptions.EnableReportQuickButton;
},
selectedStudiesCount() {
if (this.selectedStudiesIds.length > 0) {
return this.selectedStudiesIds.length;
} else {
return "";
}
}
},
watch: {
Expand Down Expand Up @@ -756,7 +763,7 @@ export default {
</div>
</div>
<table class="table table-sm study-table table-borderless">
<thead >
<thead class="sticky-top">
<tr class="study-column-titles">
<th width="2%" scope="col" ></th>
<th v-if="hasPrimaryViewerIcon" width="4%" scope="col" ></th>
Expand Down Expand Up @@ -823,7 +830,7 @@ export default {
<th width="2%" scope="col">
<div class="form-check" style="margin-left: 0.5rem">
<input class="form-check-input" type="checkbox" v-model="allSelected"
:indeterminate="isPartialSelected" @click="clickSelectAll">
:indeterminate="isPartialSelected" @click="clickSelectAll"><span style="font-weight: 400; font-size: small;">{{ selectedStudiesCount }}</span>
</div>
</th>
<th width="98%" colspan="10" scope="col">
Expand Down
3 changes: 2 additions & 1 deletion release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Changes:
- Disable some UI components on ReadOnly systems.
- New configuration "EnableLabelsCount" to enable/disable the display of the number of
studies with each label.

- The study list header is now sticking on top of the screen.

Fixes:
- When modifying studies, dates selected from the DatePicker were not always taken into account.
- Fixed the criteria to display the OHIF Segmentation viewer.
Expand Down

0 comments on commit 88dac84

Please sign in to comment.