Skip to content

Commit

Permalink
UI Navigation Patients : Enable Download as CSV icon for patients wit…
Browse files Browse the repository at this point in the history
…h Number of Patient Related Studies greater than 0 #4155
  • Loading branch information
vrindanayak committed Aug 22, 2023
1 parent 0e55076 commit c26774d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcm4chee-arc-ui2/src/app/study/study/study.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,8 @@ export class StudyService {
action: "download_csv"
}, e);
},showIf:(e,config)=>{
return this.selectedWebServiceHasClass(options.selectedWebService,"DCM4CHEE_ARC_AET")
return _.get(e,"attrs[00201200].Value[0]") > 0
&& this.selectedWebServiceHasClass(options.selectedWebService,"DCM4CHEE_ARC_AET")
},
id:"study_download_csv",
title: $localize `:@@study.download_as_csv:Download as CSV`,
Expand Down

0 comments on commit c26774d

Please sign in to comment.