From e7eb07023c561306820d5d6f024d7ecaf02b8a3a Mon Sep 17 00:00:00 2001 From: Jamie V Date: Thu, 16 Jan 2025 09:24:18 -0800 Subject: [PATCH] adding edit listener to inspector tabs component as well --- src/ui/inspector/InspectorTabs.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/inspector/InspectorTabs.vue b/src/ui/inspector/InspectorTabs.vue index fd6f72a559..1bdce600e4 100644 --- a/src/ui/inspector/InspectorTabs.vue +++ b/src/ui/inspector/InspectorTabs.vue @@ -71,9 +71,11 @@ export default { }, mounted() { this.updateSelection(); + this.openmct.editor.on('isEditing', this.updateSelection); this.openmct.selection.on('change', this.updateSelection); }, unmounted() { + this.openmct.editor.off('isEditing', this.updateSelection); this.openmct.selection.off('change', this.updateSelection); }, methods: {