adding edit listener to inspector tabs component as well

This commit is contained in:
Jamie V 2025-01-16 09:24:18 -08:00
parent 97292d4ba3
commit e7eb07023c

View File

@ -71,9 +71,11 @@ export default {
}, },
mounted() { mounted() {
this.updateSelection(); this.updateSelection();
this.openmct.editor.on('isEditing', this.updateSelection);
this.openmct.selection.on('change', this.updateSelection); this.openmct.selection.on('change', this.updateSelection);
}, },
unmounted() { unmounted() {
this.openmct.editor.off('isEditing', this.updateSelection);
this.openmct.selection.off('change', this.updateSelection); this.openmct.selection.off('change', this.updateSelection);
}, },
methods: { methods: {