feat(dicomImageLoader): replace wado image loader with the new library (#3339)
* use new dicom image loader instead of cswil new dicom image loader fails update dicom image loader update yarn lock modify webpack * update webpack * fix webpack * update package versions * update package versions
This commit is contained in:
1 parent
66863281c4
commit
eea0ed487b
16 files changed
+80
-93
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { imageLoader } from '@cornerstonejs/core';
|
||||
import cornerstoneWADOImageLoader from 'cornerstone-wado-image-loader';
|
||||
import dicomImageLoader from '@cornerstonejs/dicom-image-loader';
|
||||
import { api } from 'dicomweb-client';
|
||||
import { DICOMWeb, errorHandler } from '@ohif/core';
|
||||
|
||||
@@ -114,7 +114,7 @@ class DicomLoaderService {
|
||||
}
|
||||
|
||||
if (!someInvalidStrings(imageId)) {
|
||||
return cornerstoneWADOImageLoader.wadouri.loadFileRequest(imageId);
|
||||
return dicomImageLoader.wadouri.loadFileRequest(imageId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user