LT-115: Adapting measurement table to the new tools structure
This commit is contained in:
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 = {
|
||||
|
||||
Reference in new issue
Block a user