Fixes to make Lesion Tracker work
This commit is contained in:
1 parent
5fcf167726
commit
30a50c7ade
12 files changed
+24
-20
No files matched your search
@@ -17,10 +17,7 @@ tracker@1.1.1 # Meteor's client-side reactive programming librar
|
||||
es5-shim@4.6.15 # ECMAScript 5 compatibility for older browsers.
|
||||
ecmascript@0.6.1 # Enable ECMAScript2015+ syntax in app code
|
||||
|
||||
clinical:router
|
||||
clinical:extended-api
|
||||
clinical:active-entry
|
||||
clinical:error-pages
|
||||
clinical:theming
|
||||
clinical:fonts
|
||||
clinical:hipaa-audit-log
|
||||
|
||||
@@ -26,15 +26,9 @@ callback-hook@1.0.10
|
||||
check@1.2.4
|
||||
clinical:active-entry@1.5.16
|
||||
clinical:auto-resizing@0.2.0
|
||||
clinical:error-pages@0.2.0
|
||||
clinical:extended-api@2.2.4
|
||||
clinical:fonts@1.1.4
|
||||
clinical:hipaa-audit-log@2.4.2
|
||||
clinical:hipaa-logger@1.0.1
|
||||
clinical:router@2.0.19
|
||||
clinical:router-location@2.1.0
|
||||
clinical:router-middleware-stack@2.1.2
|
||||
clinical:router-url@2.1.0
|
||||
clinical:theming@0.4.10
|
||||
coffeescript@1.11.1_4
|
||||
ddp@1.2.5
|
||||
|
||||
@@ -247,7 +247,7 @@ Template.toolbarSection.events({
|
||||
|
||||
Template.toolbarSection.onRendered(function() {
|
||||
// Set disabled/enabled tool buttons that are set in toolManager
|
||||
const states = toolManager.getToolDefaultStates();
|
||||
const states = Viewerbase.toolManager.getToolDefaultStates();
|
||||
const disabledToolButtons = states.disabledToolButtons;
|
||||
const allToolbarButtons = $('.toolbarSection').find('.toolbarSectionButton:not(.nonAutoDisableState)');
|
||||
|
||||
|
||||
@@ -5,11 +5,15 @@ import { OHIF } from 'meteor/ohif:core';
|
||||
import 'meteor/ohif:viewerbase';
|
||||
import { _ } from 'meteor/underscore';
|
||||
|
||||
// @TODO: Figure out what to change so we don't have this duplicate import (export createStacks?)
|
||||
import { Viewerbase } from 'meteor/ohif:viewerbase';
|
||||
|
||||
Session.set('ViewerMainReady', false);
|
||||
Session.set('TimepointsReady', false);
|
||||
Session.set('MeasurementsReady', false);
|
||||
|
||||
Template.viewer.onCreated(() => {
|
||||
const toolManager = Viewerbase.toolManager;
|
||||
ViewerData = window.ViewerData || ViewerData;
|
||||
|
||||
const instance = Template.instance();
|
||||
@@ -65,7 +69,7 @@ Template.viewer.onCreated(() => {
|
||||
|
||||
instance.data.studies.forEach(study => {
|
||||
study.selected = true;
|
||||
study.displaySets = createStacks(study);
|
||||
study.displaySets = Viewerbase.createStacks(study);
|
||||
ViewerStudies.insert(study);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user