Removing imageId from Measurement schema
This commit is contained in:
1 parent
cf9136447e
commit
7bb25ae6aa
12 files changed
+66
-36
No files matched your search
@@ -7,10 +7,11 @@ OHIF.measurements.getImageDataUrl = ({
|
||||
width=512,
|
||||
height=512,
|
||||
cacheImage=true,
|
||||
imageId,
|
||||
imagePath,
|
||||
measurement
|
||||
}) => {
|
||||
imageId = imageId || measurement.imageId;
|
||||
imagePath = imagePath || measurement.imagePath;
|
||||
const imageId = OHIF.viewerbase.getImageIdForImagePath(imagePath);
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
const loadMethod = cacheImage ? 'loadAndCacheImage' : 'loadImage';
|
||||
|
||||
Reference in new issue
Block a user