fix: backward compatibility with toolbar service (#5052)
This commit is contained in:
1 parent
c6b28654b5
commit
9b1b501d83
27 files changed
+198
-144
No files matched your search
@@ -4,6 +4,8 @@ import { Toolbox } from '@ohif/extension-default';
|
||||
import PanelTMTV from './Panels/PanelTMTV';
|
||||
|
||||
function getPanelModule({ commandsManager, extensionManager, servicesManager }) {
|
||||
const { toolbarService } = servicesManager.services;
|
||||
|
||||
const wrappedPanelPetSuv = () => {
|
||||
return <PanelPetSUV />;
|
||||
};
|
||||
@@ -11,7 +13,7 @@ function getPanelModule({ commandsManager, extensionManager, servicesManager })
|
||||
const wrappedROIThresholdToolbox = () => {
|
||||
return (
|
||||
<Toolbox
|
||||
buttonSectionId="ROIThresholdToolbox"
|
||||
buttonSectionId={toolbarService.sections.roiThresholdToolbox}
|
||||
title="Threshold Tools"
|
||||
/>
|
||||
);
|
||||
@@ -25,7 +27,7 @@ function getPanelModule({ commandsManager, extensionManager, servicesManager })
|
||||
return (
|
||||
<>
|
||||
<Toolbox
|
||||
buttonSectionId="ROIThresholdToolbox"
|
||||
buttonSectionId={toolbarService.sections.roiThresholdToolbox}
|
||||
title="Threshold Tools"
|
||||
/>
|
||||
<PanelTMTV
|
||||
|
||||
Reference in new issue
Block a user