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
@@ -8,9 +8,6 @@ Template.ohifViewer.onCreated(() => {
|
||||
const instance = Template.instance();
|
||||
instance.headerClasses = new ReactiveVar('');
|
||||
|
||||
// Define the OHIF.viewer.data global object
|
||||
OHIF.viewer.data = instance.data.viewerData || {};
|
||||
|
||||
OHIF.header.dropdown.setItems([{
|
||||
action: () => OHIF.ui.showDialog('serverInformationModal'),
|
||||
text: 'Server Information',
|
||||
|
||||
Reference in new issue
Block a user