fix: Console error on loading SR report (#5600)
* fixed console error * Added check for SCOORD3D
This commit is contained in:
parent
88188ad0c4
commit
ba140a05f7
@ -638,7 +638,7 @@ function _processNonGeometricallyDefinedMeasurement(mergedContentSequence) {
|
|||||||
const { ConceptNameCodeSequence, ContentSequence, MeasuredValueSequence } = item;
|
const { ConceptNameCodeSequence, ContentSequence, MeasuredValueSequence } = item;
|
||||||
|
|
||||||
const { ValueType } = ContentSequence;
|
const { ValueType } = ContentSequence;
|
||||||
if (!ValueType === 'SCOORD') {
|
if (ValueType !== 'SCOORD' && ValueType !== 'SCOORD3D') {
|
||||||
console.warn(`Graphic ${ValueType} not currently supported, skipping annotation.`);
|
console.warn(`Graphic ${ValueType} not currently supported, skipping annotation.`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user