wip on react transition 8

This commit is contained in:
Erik Ziegler committed 2018-12-03 18:11:39 +01:00
1 parent 9ae5dd25ce
commit 71b49e6766
35 files changed
+818 -470

No files matched your search

@@ -7,7 +7,7 @@ import { OHIF } from 'meteor/ohif:core';
* @returns {Object} - Timepoint data for the active viewport
*/
OHIF.measurements.getActiveTimepoint = () => {
const activeViewportIndex = Session.get('activeViewport');
const activeViewportIndex = window.store.getState().viewports.activeViewport;
const { studyInstanceUid } = OHIF.viewerbase.layoutManager.viewportData[activeViewportIndex];
return OHIF.viewer.timepointApi.study(studyInstanceUid)[0];
};