Clear studySummary state when no study is set
This commit is contained in:
parent
47f9e1391a
commit
3b81ebcc96
@ -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]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user