Idc 1892 (#1896)
* fix: 🐛 Fix RT Panel hide/show * Prevent infinite loop by persisting load errors on displaySet. * fix: 🐛 Fix infinite error messages * Fix unit tests. * WIP * fix: 🐛 If no contours for structure, cleanly exit and notify ✅ Closes: #1892
This commit is contained in:
1 parent
b6b5a8414f
commit
4a2922dda0
2 files changed
+20
-1
No files matched your search
@@ -37,6 +37,7 @@ const RTPanel = ({
|
||||
activeIndex,
|
||||
isOpen,
|
||||
onContourItemClick,
|
||||
noContoursNotification,
|
||||
activeContexts = [],
|
||||
contexts = {},
|
||||
}) => {
|
||||
@@ -156,6 +157,12 @@ const RTPanel = ({
|
||||
imageIds
|
||||
);
|
||||
|
||||
if (!imageId) {
|
||||
noContoursNotification();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
const frameIndex = imageIds.indexOf(imageId);
|
||||
const SOPInstanceUID = cornerstone.metaData.get(
|
||||
'SOPInstanceUID',
|
||||
|
||||
Reference in new issue
Block a user