Remove all the debugging.

This commit is contained in:
James A. Petts 2020-05-13 13:28:10 +01:00
parent 07ca72d0df
commit 4b9a1ee9d1
6 changed files with 2 additions and 13 deletions

View File

@ -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) {

View File

@ -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 = [
{

View File

@ -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

View File

@ -22,9 +22,6 @@ export default class toolBarManager {
setToolBarLayout(layouts) {
const toolBarLayout = [];
debugger;
console.log('setToolBarLayout');
layouts.forEach(layout => {
const toolBarDefinitions = { tools: [], moreTools: [] };

View File

@ -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[

View File

@ -28,7 +28,6 @@ export default function ModeRoute({
let toolBarManager;
useEffect(() => {
debugger;
toolBarManager = new ToolBarManager(extensionManager, setToolBarLayout);
route.init({ toolBarManager });
}, [mode, dataSourceName, location]);