Remove all the debugging.
This commit is contained in:
parent
07ca72d0df
commit
4b9a1ee9d1
@ -123,7 +123,6 @@ function createDicomWebApi(dicomWebConfig) {
|
||||
studyPromise.then(seriesPromises => {
|
||||
seriesPromises.forEach(seriesPromise => {
|
||||
seriesPromise.then(instances => {
|
||||
debugger;
|
||||
storeInstances(instances);
|
||||
});
|
||||
});
|
||||
@ -137,10 +136,7 @@ function createDicomWebApi(dicomWebConfig) {
|
||||
displaySetInstanceUid
|
||||
);
|
||||
|
||||
debugger;
|
||||
|
||||
const images = displaySet.images;
|
||||
|
||||
const imageIds = [];
|
||||
|
||||
if (!images) {
|
||||
|
||||
@ -31,6 +31,8 @@ const Header = ({ tools, moreTools }) => {
|
||||
{ name: 'Brain', value: '80 / 40' },
|
||||
];
|
||||
|
||||
// TODO -> In ToolBarManager => Consume commandName and commandOptions and create onClick?
|
||||
|
||||
/*
|
||||
const tools = [
|
||||
{
|
||||
|
||||
@ -52,8 +52,6 @@ export default function mode({ modeConfiguration }) {
|
||||
},
|
||||
]);
|
||||
|
||||
debugger;
|
||||
|
||||
// Could import layout selector here from org.ohif.default (when it exists!)
|
||||
toolBarManager.setToolBarLayout([
|
||||
// Primary
|
||||
|
||||
@ -22,9 +22,6 @@ export default class toolBarManager {
|
||||
setToolBarLayout(layouts) {
|
||||
const toolBarLayout = [];
|
||||
|
||||
debugger;
|
||||
console.log('setToolBarLayout');
|
||||
|
||||
layouts.forEach(layout => {
|
||||
const toolBarDefinitions = { tools: [], moreTools: [] };
|
||||
|
||||
|
||||
@ -112,9 +112,6 @@ export default class ExtensionManager {
|
||||
case MODULE_TYPES.LAYOUT_TEMPLATE:
|
||||
// Default for most extension points,
|
||||
// Just adds each entry ready for consumption by mode.
|
||||
if (!extensionModule.forEach) {
|
||||
debugger;
|
||||
}
|
||||
|
||||
extensionModule.forEach(element => {
|
||||
this.modulesMap[
|
||||
|
||||
@ -28,7 +28,6 @@ export default function ModeRoute({
|
||||
let toolBarManager;
|
||||
|
||||
useEffect(() => {
|
||||
debugger;
|
||||
toolBarManager = new ToolBarManager(extensionManager, setToolBarLayout);
|
||||
route.init({ toolBarManager });
|
||||
}, [mode, dataSourceName, location]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user