docs(faq): FAQ and Segmentation Mode Fix for some studies (#3762)
This commit is contained in:
1 parent
f9f16bc69f
commit
ee67bcc0f5
29 files changed
+321
-96
No files matched your search
@@ -120,9 +120,16 @@ function modeFactory({ modeConfiguration }) {
|
||||
},
|
||||
/**
|
||||
* A boolean return value that indicates whether the mode is valid for the
|
||||
* modalities of the selected studies. For instance a PET/CT mode should be
|
||||
* modalities of the selected studies. Currently we don't have stack viewport
|
||||
* segmentations and we should exclude them
|
||||
*/
|
||||
isValidMode: ({ modalities }) => true,
|
||||
isValidMode: ({ modalities }) => {
|
||||
if (modalities.length === 1) {
|
||||
return !['SM', 'US', 'MG', 'OT', 'DOC', 'CR'].includes(modalities[0]);
|
||||
}
|
||||
|
||||
return true;
|
||||
},
|
||||
/**
|
||||
* Mode Routes are used to define the mode's behavior. A list of Mode Route
|
||||
* that includes the mode's path and the layout to be used. The layout will
|
||||
|
||||
Reference in new issue
Block a user