Rename longitudinal mode to "Basic Viewer"; matching design

This commit is contained in:
dannyrb 2020-06-30 15:30:47 -04:00
parent 92314513f6
commit e82b6b3c5e
2 changed files with 5 additions and 7 deletions

View File

@ -20,8 +20,8 @@ export default function mode({ modeConfiguration }) {
return { return {
// TODO: We're using this as a route segment // TODO: We're using this as a route segment
// We should not be. // We should not be.
id: 'longitudinal-workflow', id: 'viewer',
displayName: 'Comparison', displayName: 'Basic Viewer',
validationTags: { validationTags: {
study: [], study: [],
series: [], series: [],
@ -95,9 +95,7 @@ export default function mode({ modeConfiguration }) {
'org.ohif.dicom-sr', 'org.ohif.dicom-sr',
], ],
sopClassHandlers: [ohif.sopClassHandler, dicomsr.sopClassHandler], sopClassHandlers: [ohif.sopClassHandler, dicomsr.sopClassHandler],
hotkeys: [ hotkeys: [...hotkeys.defaults.hotkeyBindings],
...hotkeys.defaults.hotkeyBindings
]
}; };
} }

View File

@ -20,8 +20,8 @@ import createRoutes from './routes';
import appInit from './appInit.js'; import appInit from './appInit.js';
// TODO: Temporarily for testing // TODO: Temporarily for testing
import '@ohif/mode-example';
import '@ohif/mode-longitudinal'; import '@ohif/mode-longitudinal';
import '@ohif/mode-segmentation';
/** /**
* ENV Variable to determine routing behavior * ENV Variable to determine routing behavior
@ -50,7 +50,7 @@ function App({ config, defaultExtensions }) {
dataSources, dataSources,
extensionManager, extensionManager,
servicesManager, servicesManager,
hotkeysManager hotkeysManager,
}); });
const { const {
UIDialogService, UIDialogService,