Fixing issues on exportPdf and adding extensibility to location labels

This commit is contained in:
Bruno Alves de Faria committed 2017-02-08 08:19:10 -02:00
1 parent 96a747a2ef
commit ffc32fb214
7 files changed
+31 -25

No files matched your search

@@ -7,3 +7,8 @@ import { OHIF } from 'meteor/ohif:core';
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);
});