fix: mpr button is not ready to be displayed yet (#2951)

This commit is contained in:
Alireza 2022-09-22 11:55:51 -04:00 committed by GitHub
parent c9818d9fc5
commit 9df557831b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 17 deletions

View File

@ -102,7 +102,7 @@ function modeFactory() {
'Pan', 'Pan',
'Capture', 'Capture',
'Layout', 'Layout',
'MPR', // 'MPR',
'MoreTools', 'MoreTools',
]); ]);
}, },

View File

@ -291,22 +291,22 @@ const toolbarButtons = [
}, },
}, },
// Todo: MPR not ready yet for SEG support, not activating it now // Todo: MPR not ready yet for SEG support, not activating it now
{ // {
id: 'MPR', // id: 'MPR',
type: 'ohif.action', // type: 'ohif.action',
props: { // props: {
icon: 'old-play', // icon: 'old-play',
label: 'MPR', // label: 'MPR',
type: 'action', // type: 'action',
commands: [ // commands: [
{ // {
commandName: 'setHangingProtocol', // commandName: 'setHangingProtocol',
commandOptions: { protocolId: 'mpr' }, // commandOptions: { protocolId: 'mpr' },
context: 'CORNERSTONE', // context: 'CORNERSTONE',
}, // },
], // ],
}, // },
}, // },
// More... // More...
{ {
id: 'MoreTools', id: 'MoreTools',