fix(toolbar): Remove unnecessary Presentation State button

This commit is contained in:
Erik Ziegler 2019-03-22 16:16:56 +01:00
parent 46828dc5ce
commit c0549967c6
3 changed files with 22 additions and 39 deletions

View File

@ -59,7 +59,7 @@ Template.toolbarSection.helpers({
// bottomLabel: 'Hanging' // bottomLabel: 'Hanging'
// }] // }]
// }; // };
return { return {
toggleable: true, toggleable: true,
key: 'rightSidebar', key: 'rightSidebar',
@ -268,15 +268,6 @@ Template.toolbarSection.helpers({
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-sr' 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({ buttonData.push({
id: 'toggleMore', id: 'toggleMore',
title: 'More', title: 'More',
@ -334,4 +325,4 @@ Template.toolbarSection.onRendered(function() {
} }
} }
} }
}); });

View File

@ -226,11 +226,6 @@ Meteor.startup(function() {
action: viewportUtils.toggleDownloadDialog, action: viewportUtils.toggleDownloadDialog,
disabled: () => !viewportUtils.isDownloadEnabled() disabled: () => !viewportUtils.isDownloadEnabled()
}, },
ps: {
name: 'Show/Hide Presentation State',
action: () => Session.set('MeasurementsReady', !Session.get('MeasurementsReady')),
disabled: () => false
},
sr: { sr: {
name: 'Show/Hide Structured Report', name: 'Show/Hide Structured Report',
action: () => OHIF.ui.showDialog('structuredReportModal'), action: () => OHIF.ui.showDialog('structuredReportModal'),

View File

@ -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, "dropCollections": true,
"public": { "public": {
"clientOnly": true,
"verifyEmail": false, "verifyEmail": false,
"ui": { "ui": {
"studyListFunctionsEnabled": true, "studyListFunctionsEnabled": true,
@ -29,9 +10,25 @@
"displaySetNavigationMultipleViewports": true, "displaySetNavigationMultipleViewports": true,
"autoPositionMeasurementsTextCallOuts": "TRLB", "autoPositionMeasurementsTextCallOuts": "TRLB",
"studyListDateFilterNumDays": 1 "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
} }
} }