docs(faq): FAQ and Segmentation Mode Fix for some studies (#3762)

This commit is contained in:
Alireza authored and GitHub committed 2023-11-03 12:19:24 -04:00
1 parent f9f16bc69f
commit ee67bcc0f5
29 files changed
+321 -96

No files matched your search

@@ -36,7 +36,7 @@ export default class DisplaySetService extends PubSubService {
};
public activeDisplaySets = [];
public unsuportedSOPClassHandler;
public unsupportedSOPClassHandler;
extensionManager: ExtensionManager;
protected activeDisplaySetsMap = new Map<string, DisplaySet>();
@@ -47,7 +47,7 @@ export default class DisplaySetService extends PubSubService {
constructor() {
super(EVENTS);
this.unsuportedSOPClassHandler =
this.unsupportedSOPClassHandler =
'@ohif/extension-default.sopClassHandlerModule.not-supported-display-sets-handler';
}
@@ -81,7 +81,7 @@ export default class DisplaySetService extends PubSubService {
* @param sopClassHandlerUID
*/
public setUnsuportedSOPClassHandler(sopClassHandler) {
this.unsuportedSOPClassHandler = sopClassHandler;
this.unsupportedSOPClassHandler = sopClassHandler;
}
/**
@@ -384,7 +384,7 @@ export default class DisplaySetService extends PubSubService {
// applying the default sopClassUID handler
if (allDisplaySets.length === 0) {
// applying hp-defined viewport settings to the displaysets
const handler = this.extensionManager.getModuleEntry(this.unsuportedSOPClassHandler);
const handler = this.extensionManager.getModuleEntry(this.unsupportedSOPClassHandler);
const displaySets = handler.getDisplaySetsFromSeries(instances);
if (displaySets?.length) {
displaySets.forEach(ds => {