fix(bugs): and replace seriesInstanceUID and seriesInstanceUIDs URL with seriesInstanceUIDs (#4049)

This commit is contained in:
Alireza authored and GitHub committed 2024-04-17 21:59:47 -04:00
1 parent 058da93863
commit da7c1a5d8c
19 files changed
+173 -118

No files matched your search

+1 -14
View File
@@ -1,7 +1,7 @@
import { hotkeys, classes } from '@ohif/core';
import toolbarButtons from './toolbarButtons.js';
import { id } from './id.js';
import initToolGroups, { toolGroupIds } from './initToolGroups.js';
import initToolGroups from './initToolGroups.js';
import setCrosshairsConfiguration from './utils/setCrosshairsConfiguration.js';
import setFusionActiveVolume from './utils/setFusionActiveVolume.js';
import i18n from 'i18next';
@@ -112,19 +112,6 @@ function modeFactory({ modeConfiguration }) {
},
]);
// This is a hack and we need to find a better way to enable
// some tools that require the viewport to be ready
const { unsubscribe: unsub1 } = viewportGridService.subscribe(
viewportGridService.EVENTS.VIEWPORTS_READY,
() => {
commandsManager.run('setToolEnabled', {
toolName: 'OrientationMarker',
toolGroupId: 'mipToolGroup',
});
unsub1();
}
);
// For the hanging protocol we need to decide on the window level
// based on whether the SUV is corrected or not, hence we can't hard
// code the window level in the hanging protocol but we add a custom