diff --git a/idc-assets/app-config-template.js b/idc-assets/app-config-template.js index 342f65c2a8e..31cf1182091 100644 --- a/idc-assets/app-config-template.js +++ b/idc-assets/app-config-template.js @@ -2,13 +2,13 @@ window.config = { routerBasename: '/v3', modesConfiguration: { '@ohif/mode-ultrasound-pleura-bline': { - hide: { $set: true }, + hide: true, }, '@ohif/mode-segmentation': { - hide: { $set: true }, + hide: true, }, 'ohif-gcp-mode': { - hide: { $set: true }, + hide: true, } }, whiteLabeling: { diff --git a/modes/segmentation/src/index.tsx b/modes/segmentation/src/index.tsx index 5e30a76661d..b9e5a76eb73 100644 --- a/modes/segmentation/src/index.tsx +++ b/modes/segmentation/src/index.tsx @@ -238,6 +238,7 @@ function modeFactory({ modeConfiguration }) { hangingProtocol: ['@ohif/mnGrid'], /** SopClassHandlers used by the mode */ sopClassHandlers: [ohif.sopClassHandler, segmentation.sopClassHandler, dicomRT.sopClassHandler], + ...modeConfiguration, }; } diff --git a/platform/app/public/config/default.js b/platform/app/public/config/default.js index 56f4962841e..6be4a6ad0de 100644 --- a/platform/app/public/config/default.js +++ b/platform/app/public/config/default.js @@ -399,13 +399,13 @@ window.config = { ], modesConfiguration: { '@ohif/mode-ultrasound-pleura-bline': { - hide: { $set: true }, + hide: true, }, '@ohif/mode-segmentation': { - hide: { $set: true }, + hide: true, }, 'ohif-gcp-mode': { - hide: { $set: true }, + hide: true, } }, // oidc: [