This commit is contained in:
James A. Petts committed 2020-05-15 14:02:38 +02:00
1 parent 289d3f5703
commit a8340b9b69
7 files changed
+21 -4

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
window.config = {
routerBasename: '/',
// whiteLabelling: {},
extensions: ['org.ohif.default'],
extensions: [],
modes: [],
showStudyList: true,
// filterQueryParam: false,
+4 -1
View File
@@ -6,7 +6,7 @@ import {
UINotificationService,
UIModalService,
UIDialogService,
// MeasurementService,
MeasurementService,
// utils,
// redux as reduxOHIF,
} from '@ohif/core';
@@ -44,8 +44,11 @@ function appInit(appConfigOrFunc, defaultExtensions) {
UINotificationService,
UIModalService,
UIDialogService,
MeasurementService,
]);
debugger;
/**
* Example: [ext1, ext2, ext3]
* Example2: [[ext1, config], ext2, [ext3, config]]
+2 -1
View File
@@ -22,11 +22,12 @@ import ReactDOM from 'react-dom';
* the defaultExtensions property.
*/
import OHIFDefaultExtension from '@ohif/extension-default';
import OHIFCornerstoneExtension from '@ohif/extension-cornerstone';
/** Combine our appConfiguration and "baked-in" extensions */
const appProps = {
config: window ? window.config : {},
defaultExtensions: [OHIFDefaultExtension],
defaultExtensions: [OHIFDefaultExtension, OHIFCornerstoneExtension],
};
/** Create App */