Files
ohif-viewer/Packages/ohif-study-list/client/components/studylist/studylist.js
T

13 lines
293 B
JavaScript

import { Template } from 'meteor/templating';
import { OHIF } from 'ohif-core';
Template.studylist.onCreated(() => {
// Set the current context
OHIF.context.set('studylist');
});
Template.studylist.onDestroyed(() => {
// Reset the current context
OHIF.context.set(null);
});