fix(hp): Make the updated hanging protocol compatible with modes (#2971)
There had been a change made to make the hanging protocols auto initialize, but that caused problems on mode init because the couldn't specify the hanging protocols any longer. THis change restores that, and also improves the API a little bit by allowing the display set selectors to be specified by id instead of positionally. fix(hp):PR Review Comments fix(hp):Unit test and docs
This commit is contained in:
1 parent
1bcc9ccd89
commit
e401358887
16 files changed
+228
-209
No files matched your search
@@ -17,7 +17,7 @@ const cs3d = {
|
||||
};
|
||||
|
||||
const tmtv = {
|
||||
hangingProtocols: '@ohif/extension-tmtv.hangingProtocolModule.ptCT',
|
||||
hangingProtocol: '@ohif/extension-tmtv.hangingProtocolModule.ptCT',
|
||||
petSUV: '@ohif/extension-tmtv.panelModule.petSUV',
|
||||
ROIThresholdPanel: '@ohif/extension-tmtv.panelModule.ROIThresholdSeg',
|
||||
};
|
||||
@@ -187,7 +187,7 @@ function modeFactory({ modeConfiguration }) {
|
||||
},
|
||||
],
|
||||
extensions: extensionDependencies,
|
||||
hangingProtocol: 'ptCT',
|
||||
hangingProtocol: tmtv.hangingProtocol,
|
||||
sopClassHandlers: [ohif.sopClassHandler],
|
||||
hotkeys: [...hotkeys.defaults.hotkeyBindings],
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user