fix: Cornerstone3D 3.0 (#4816)
Co-authored-by: sedghi <ar.sedghi@gmail.com>
This commit is contained in:
1 parent
62abb3ac47
commit
24567c4e92
25 files changed
+326
-342
No files matched your search
@@ -32,8 +32,8 @@
|
||||
"start": "yarn run dev"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@cornerstonejs/core": "^2.19.14",
|
||||
"@cornerstonejs/tools": "^2.19.14",
|
||||
"@cornerstonejs/core": "^3.0.1",
|
||||
"@cornerstonejs/tools": "^3.0.1",
|
||||
"@ohif/core": "3.10.0-beta.113",
|
||||
"@ohif/extension-cornerstone-dicom-sr": "3.10.0-beta.113",
|
||||
"@ohif/extension-default": "3.10.0-beta.113",
|
||||
|
||||
+9
@@ -89,6 +89,15 @@ function TrackedMeasurementsContextProvider(
|
||||
);
|
||||
|
||||
// Jump to the last tracked measurement - most recent
|
||||
if (!trackedMeasurements?.length) {
|
||||
console.warn(
|
||||
"Didn't find any tracked measurements",
|
||||
measurements,
|
||||
trackedStudy,
|
||||
trackedSeries
|
||||
);
|
||||
return;
|
||||
}
|
||||
const trackedMeasurement = trackedMeasurements[trackedMeasurements.length - 1];
|
||||
const referencedDisplaySetUID = trackedMeasurement.displaySetInstanceUID;
|
||||
|
||||
|
||||
Reference in new issue
Block a user