feat(worklist): New worklist buttons and tooltips (#3989)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-03-18 20:27:12 -04:00
1 parent 6b79dff5c1
commit 9bcd1ae6f5
13 files changed
+120 -36

No files matched your search

+10 -2
View File
@@ -143,8 +143,12 @@ function modeFactory() {
syncGroupService,
segmentationService,
cornerstoneViewportService,
uiDialogService,
uiModalService,
} = servicesManager.services;
uiDialogService.dismissAll();
uiModalService.hide();
toolGroupService.destroy();
syncGroupService.destroy();
segmentationService.destroy();
@@ -159,8 +163,12 @@ function modeFactory() {
const modalities_list = modalities.split('\\');
// Exclude non-image modalities
return !!modalities_list.filter(modality => NON_IMAGE_MODALITIES.indexOf(modality) === -1)
.length;
return {
valid: !!modalities_list.filter(modality => NON_IMAGE_MODALITIES.indexOf(modality) === -1)
.length,
description:
'The mode does not support studies that ONLY include the following modalities: SM, ECG, SR, SEG',
};
},
routes: [
{