LT-251: Showing patient studies even if there are no timepoints
This commit is contained in:
1 parent
0d9afa3557
commit
dc20359c1c
6 files changed
+72
-57
No files matched your search
+1
-4
@@ -4,9 +4,6 @@ Template.studySeriesQuickSwitch.onCreated(() => {
|
||||
// Defines the study being shown in the current viewport
|
||||
instance.data.currentStudy = new ReactiveVar();
|
||||
|
||||
// Shows only the key timepoints
|
||||
instance.data.timepointViewType = new ReactiveVar('key');
|
||||
|
||||
// Gets the viewport data for the given viewport index
|
||||
instance.getViewportData = viewportIndex => {
|
||||
const layoutManager = window.layoutManager;
|
||||
@@ -20,7 +17,7 @@ Template.studySeriesQuickSwitch.onCreated(() => {
|
||||
return;
|
||||
}
|
||||
|
||||
// Fins the current study and return it
|
||||
// Finds the current study and return it
|
||||
const study = ViewerStudies.findOne({
|
||||
studyInstanceUid: viewportData.studyInstanceUid
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user