diff --git a/package.json b/package.json index a3ab4cfaff..79d1be351d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "2.2.4-SNAPSHOT", "description": "The Open MCT core platform", "devDependencies": { - "@babel/eslint-parser": "7.19.1", + "@babel/eslint-parser": "7.21.8", "@braintree/sanitize-url": "6.0.2", "@deploysentinel/playwright": "0.3.4", "@percy/cli": "1.24.0", diff --git a/src/plugins/inspectorViews/annotations/AnnotationsInspectorView.vue b/src/plugins/inspectorViews/annotations/AnnotationsInspectorView.vue index 0726fa6b7b..fcf2f29653 100644 --- a/src/plugins/inspectorViews/annotations/AnnotationsInspectorView.vue +++ b/src/plugins/inspectorViews/annotations/AnnotationsInspectorView.vue @@ -128,6 +128,7 @@ export default { await this.updateSelection(this.openmct.selection.get()); }, beforeDestroy() { + this.openmct.annotation.off('targetDomainObjectAnnotated', this.loadAnnotationForTargetObject); this.openmct.selection.off('change', this.updateSelection); const unobserveEntryFunctions = Object.values(this.unobserveEntries); unobserveEntryFunctions.forEach((unobserveEntry) => {