LT-115: Adapting measurement table to the new tools structure

This commit is contained in:
Bruno Alves de Faria committed 2017-01-02 16:32:09 -02:00
1 parent b776e5f411
commit 0fccb48271
8 files changed
+103 -72

No files matched your search

@@ -17,8 +17,7 @@ OHIF.measurements.toggleLabelButton = options => {
removeButtonView();
}
const tool = options.toolType;
const toolCollection = options.measurementApi.tools[tool];
const toolCollection = options.measurementApi.tools[options.toolType];
const measurement = toolCollection.findOne(options.measurementId);
const data = {