Fix caching issues with related studies. (#1970)
This commit is contained in:
1 parent
fe52037fc2
commit
58c2c00663
5 files changed
+20
-21
No files matched your search
@@ -4,7 +4,11 @@ function requestDisplaySetCreationForStudy(
|
||||
StudyInstanceUID
|
||||
) {
|
||||
// TODO: is this already short-circuited by the map of Retrieve promises?
|
||||
if (DisplaySetService.hasDisplaySetsForStudy(StudyInstanceUID)) {
|
||||
if (
|
||||
DisplaySetService.activeDisplaySets.some(
|
||||
displaySet => displaySet.StudyInstanceUID === StudyInstanceUID
|
||||
)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user