reorganize packages, start converting overall app to react (very broken at the moment)
This commit is contained in:
1 parent
024fe1a448
commit
5f30f7bd35
479 files changed
+5364
-11611
No files matched your search
@@ -0,0 +1 @@
|
||||
import './measurements.js';
|
||||
@@ -0,0 +1,14 @@
|
||||
import { Template } from 'meteor/templating';
|
||||
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
|
||||
// Get the current measurement API configuration with information about tools, data exchange
|
||||
// and data validation.
|
||||
Template.registerHelper('measurementConfiguration', () => {
|
||||
return OHIF.measurements.MeasurementApi.getConfiguration();
|
||||
});
|
||||
|
||||
// Translates the location and return a string containing its label
|
||||
Template.registerHelper('getLocationLabel', label => {
|
||||
return OHIF.measurements.getLocationLabel(label);
|
||||
});
|
||||
Reference in new issue
Block a user