Merge branch 'v3-stable' into customizable-TS
This commit is contained in:
59 files changed
+1039
-409
No files matched your search
@@ -335,13 +335,13 @@ const OHIFCornerstoneViewport = React.memo(props => {
|
||||
|
||||
cleanUpServices();
|
||||
|
||||
const viewportInfo = cornerstoneViewportService.getViewportInfoByIndex(
|
||||
viewportIndex
|
||||
);
|
||||
|
||||
cornerstoneViewportService.disableElement(viewportIndex);
|
||||
|
||||
if (onElementDisabled) {
|
||||
const viewportInfo = cornerstoneViewportService.getViewportInfoByIndex(
|
||||
viewportIndex
|
||||
);
|
||||
|
||||
onElementDisabled(viewportInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,8 +61,8 @@ export default function initWADOImageLoader(
|
||||
|
||||
const xhrRequestHeaders = {}
|
||||
|
||||
if (headers && headers.Authorization) {
|
||||
xhrRequestHeaders.Authorization = headers.Authorization;
|
||||
if (headers) {
|
||||
Object.assign(xhrRequestHeaders, headers);
|
||||
}
|
||||
|
||||
return xhrRequestHeaders;
|
||||
|
||||
Reference in new issue
Block a user