Merge remote-tracking branch 'upstream/feat/v2-main' into OHIF-190

This commit is contained in:
James A. Petts committed 2020-06-30 17:28:05 +02:00
commit 80a86d1251
9 files changed
+113 -13

No files matched your search

@@ -114,10 +114,11 @@ function _getDisplaySetsFromSeries(
// Subscribe to new displaySets as the source may come in after.
DisplaySetService.subscribe(
DisplaySetService.EVENTS.DISPLAY_SETS_ADDED,
newDisplaySets => {
data => {
const { displaySetsAdded } = data;
// If there are still some measurements that have not yet been loaded into cornerstone,
// See if we can load them onto any of the new displaySets.
newDisplaySets.forEach(newDisplaySet => {
displaySetsAdded.forEach(newDisplaySet => {
_checkIfCanAddMeasurementsToDisplaySet(
displaySet,
newDisplaySet,