Merge branch 'master' into 6557-annotations-image-tagging-prototype

This commit is contained in:
Scott Bell 2023-05-24 11:36:12 +02:00 committed by GitHub
commit fbb37ac382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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",

View File

@ -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) => {