Adjusting OHIF Viewer to the new structure

This commit is contained in:
Bruno Alves de Faria committed 2017-03-21 10:16:47 -03:00
1 parent 374dab5ef4
commit 718fd30feb
18 files changed
+156 -459

No files matched your search

+1 -1
View File
@@ -107,7 +107,7 @@ Template.app.helpers({
const isViewer = Session.get('ViewerOpened');
// Return empty if viewer was not opened yet
if (!OHIF.viewer.data.studyInstanceUids) return;
if (!OHIF.utils.ObjectPath.get(OHIF, 'viewer.data.studyInstanceUids')) return;
return isViewer ? 'Study list' : 'Back to viewer';
},