Skip to content

Commit

Permalink
fix(toolbar): Remove unnecessary Presentation State button
Browse files Browse the repository at this point in the history
  • Loading branch information
swederik committed Mar 22, 2019
1 parent 46828dc commit c054996
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 39 deletions.
13 changes: 2 additions & 11 deletions OHIFViewer/client/components/toolbarSection/toolbarSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Template.toolbarSection.helpers({
// bottomLabel: 'Hanging'
// }]
// };

return {
toggleable: true,
key: 'rightSidebar',
Expand Down Expand Up @@ -268,15 +268,6 @@ Template.toolbarSection.helpers({
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-sr'
});

buttonData.push({
id: 'ps',
title: 'PS',
iconClasses: 'fa fa-th-large',
classes: 'imageViewerTool',
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-ps'
});


buttonData.push({
id: 'toggleMore',
title: 'More',
Expand Down Expand Up @@ -334,4 +325,4 @@ Template.toolbarSection.onRendered(function() {
}
}
}
});
});
5 changes: 0 additions & 5 deletions Packages/ohif-viewerbase/client/lib/hotkeyUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,6 @@ Meteor.startup(function() {
action: viewportUtils.toggleDownloadDialog,
disabled: () => !viewportUtils.isDownloadEnabled()
},
ps: {
name: 'Show/Hide Presentation State',
action: () => Session.set('MeasurementsReady', !Session.get('MeasurementsReady')),
disabled: () => false
},
sr: {
name: 'Show/Hide Structured Report',
action: () => OHIF.ui.showDialog('structuredReportModal'),
Expand Down
43 changes: 20 additions & 23 deletions config/publicOrthancDICOMWeb.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,7 @@
{
"servers": {
"dicomWeb": [
{
"name": "Orthanc",
"wadoUriRoot": "http://dicomweb.ohif.org/wado",
"qidoRoot": "http://dicomweb.ohif.org/dicom-web",
"wadoRoot": "http://dicomweb.ohif.org/dicom-web",
"qidoSupportsIncludeField": false,
"imageRendering": "wadouri",
"thumbnailRendering": "wadouri",
"requestOptions": {
"auth": "orthanc:orthanc",
"logRequests": true,
"logResponses": false,
"logTiming": true
}
}
]
},
"defaultServiceType": "dicomWeb",
"dropCollections": true,
"public": {
"clientOnly": true,
"verifyEmail": false,
"ui": {
"studyListFunctionsEnabled": true,
Expand All @@ -29,9 +10,25 @@
"displaySetNavigationMultipleViewports": true,
"autoPositionMeasurementsTextCallOuts": "TRLB",
"studyListDateFilterNumDays": 1
},
"servers": {
"dicomWeb": [
{
"name": "Orthanc",
"wadoUriRoot": "https://server.dcmjs.org//dcm4chee-arc/aets/DCM4CHEE/wado",
"qidoRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs",
"wadoRoot": "https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE/rs",
"qidoSupportsIncludeField": true,
"imageRendering": "wadors",
"thumbnailRendering": "wadors",
"requestOptions": {
"requestFromBrowser": true,
"logRequests": true,
"logResponses": false,
"logTiming": true
}
}
]
}
},
"proxy": {
"enabled": true
}
}

0 comments on commit c054996

Please sign in to comment.