Clear studySummary state when no study is set
This commit is contained in:
1 parent
47f9e1391a
commit
3b81ebcc96
1 file changed
+1
-1
@@ -70,7 +70,7 @@ function PanelMeasurementTableTracking({ servicesManager, commandsManager }) {
|
||||
description: StudyDescription,
|
||||
});
|
||||
}
|
||||
} else if (trackedMeasurements.matches('notTracking')) {
|
||||
} else if (trackedStudy === '' || trackedStudy === undefined) {
|
||||
setDisplayStudySummary(DISPLAY_STUDY_SUMMARY_INITIAL_VALUE);
|
||||
}
|
||||
}, [displayStudySummary.key, trackedMeasurements, trackedStudy]);
|
||||
|
||||
Reference in new issue
Block a user