PWV-15: Updating Viewer Data inside viewer.js
This commit is contained in:
1 parent
2ea2107e11
commit
374dab5ef4
4 files changed
+9
-6
No files matched your search
@@ -35,6 +35,9 @@ Template.viewer.onCreated(() => {
|
||||
|
||||
const instance = Template.instance();
|
||||
|
||||
// Define the OHIF.viewer.data global object
|
||||
OHIF.viewer.data = OHIF.viewer.data || Session.get('ViewerData') || {};
|
||||
|
||||
const { TimepointApi, MeasurementApi, ConformanceCriteria } = OHIF.measurements;
|
||||
|
||||
const currentTimepointId = OHIF.viewer.data.currentTimepointId;
|
||||
|
||||
Reference in new issue
Block a user