WIP
This commit is contained in:
1 parent
289d3f5703
commit
a8340b9b69
7 files changed
+21
-4
No files matched your search
@@ -101,6 +101,8 @@ export default class ExtensionManager {
|
||||
module: extensionModule,
|
||||
});
|
||||
|
||||
// TODO -> deal with command modules.
|
||||
|
||||
extensionModule.forEach(element => {
|
||||
this.modulesMap[
|
||||
`${extensionId}.${moduleType}.${element.name}`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
window.config = {
|
||||
routerBasename: '/',
|
||||
// whiteLabelling: {},
|
||||
extensions: ['org.ohif.default'],
|
||||
extensions: [],
|
||||
modes: [],
|
||||
showStudyList: true,
|
||||
// filterQueryParam: false,
|
||||
|
||||
@@ -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]]
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user