ohif-viewer/Packages/ohif-study-list/client/components/studylist/studylist.js
2018-12-14 14:38:36 +01:00

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);
});