IDC-2348: Add acquisition storage sr sopclass to sr html ext (#2352)

* Add acquisition context storage sr sop to html ext
This commit is contained in:
Igor Octaviano authored and GitHub committed 2021-04-21 13:12:54 +02:00
1 parent 1d069d2da3
commit 0ae49c6fdc
3 files changed
+7 -4

No files matched your search

@@ -259,7 +259,6 @@ function ViewerRetrieveStudyData({
);
setStudies([...studies, study]);
setIsStudyLoaded(true);
};
/**
@@ -295,6 +294,9 @@ function ViewerRetrieveStudyData({
setError(error);
log.error(error);
}
})
.finally(() => {
setIsStudyLoaded(true);
});
return study;
@@ -323,8 +325,9 @@ function ViewerRetrieveStudyData({
const promises = Array(concurrentRequestsAllowed)
.fill(null)
.map(loadNextSeries);
return await Promise.all(promises);
const remainingPromises = await Promise.all(promises);
setIsStudyLoaded(true);
return remainingPromises;
};
const loadStudies = async () => {