diff --git a/Packages/ohif-measurements/both/configuration/measurements.js b/Packages/ohif-measurements/both/configuration/measurements.js index 9bd34137b..b08db4c6c 100644 --- a/Packages/ohif-measurements/both/configuration/measurements.js +++ b/Packages/ohif-measurements/both/configuration/measurements.js @@ -293,6 +293,9 @@ class MeasurementApi { deleteMeasurements(measurementTypeId, filter) { const groupCollection = this.toolGroups[measurementTypeId]; + // Stop here if it is a temporary toolGroups + if (!groupCollection) return; + // Get the entries information before removing them const groupItems = groupCollection.find(filter).fetch(); const entries = [];