PWV-182: Integrating study/timepoint browser changes on PIM Web Viewer
This commit is contained in:
1 parent
37137b9331
commit
05b2aa3e15
7 files changed
+6
-10
No files matched your search
@@ -79,7 +79,8 @@ Template.timepointBrowserSidebar.helpers({
|
||||
const { patientId } = currentTimepoint;
|
||||
let timepoints = [];
|
||||
if (instance.timepointViewType.get() === 'key') {
|
||||
timepoints = timepointApi.key();
|
||||
const filter = { latestDate: { $lte: currentTimepoint.latestDate } };
|
||||
timepoints = timepointApi.key(filter);
|
||||
} else {
|
||||
timepoints = timepointApi.all({ patientId });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user