fix(health imaging): studies not loading from healthimaging if imagepositionpatient is missing (#3646)

This commit is contained in:
Ibrahim authored and GitHub committed 2023-09-12 10:30:02 -04:00
1 parent 7eda0c5f46
commit 74e62a1763
3 files changed
+14 -1

No files matched your search

+8 -1
View File
@@ -67,6 +67,13 @@ function defaultRouteInit(
})
);
// log the error if this fails, otherwise it's so difficult to tell what went wrong...
allRetrieves.forEach(retrieve => {
retrieve.catch(error => {
console.error(error);
});
});
// The hanging protocol matching service is fairly expensive to run multiple
// times, and doesn't allow partial matches to be made (it will simply fail
// to display anything if a required match fails), so we wait here until all metadata
@@ -436,7 +443,7 @@ export default function ModeRoute({
<ImageViewerProvider
// initialState={{ StudyInstanceUIDs: StudyInstanceUIDs }}
StudyInstanceUIDs={studyInstanceUIDs}
// reducer={reducer}
// reducer={reducer}
>
<CombinedContextProvider>
<DragAndDropProvider>