fix(measurements): read displayName in SplineROI and PlanarFreehandROI reports (#5908)
This commit is contained in:
parent
6f92234111
commit
27af6821b5
@ -160,8 +160,8 @@ function getColumnValueReport(annotation, customizationService) {
|
|||||||
const { metadata, data } = annotation;
|
const { metadata, data } = annotation;
|
||||||
const stats = data.cachedStats[`imageId:${metadata.referencedImageId}`];
|
const stats = data.cachedStats[`imageId:${metadata.referencedImageId}`];
|
||||||
|
|
||||||
report.forEach(({ name, value }) => {
|
report.forEach(({ displayName, value }) => {
|
||||||
columns.push(name);
|
columns.push(displayName);
|
||||||
stats[value] ? values.push(stats[value]) : values.push('not available');
|
stats[value] ? values.push(stats[value]) : values.push('not available');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -158,8 +158,8 @@ function getColumnValueReport(annotation, customizationService) {
|
|||||||
const { metadata, data } = annotation;
|
const { metadata, data } = annotation;
|
||||||
const stats = data.cachedStats[`imageId:${metadata.referencedImageId}`];
|
const stats = data.cachedStats[`imageId:${metadata.referencedImageId}`];
|
||||||
|
|
||||||
report.forEach(({ name, value }) => {
|
report.forEach(({ displayName, value }) => {
|
||||||
columns.push(name);
|
columns.push(displayName);
|
||||||
stats[value] ? values.push(stats[value]) : values.push('not available');
|
stats[value] ? values.push(stats[value]) : values.push('not available');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user