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() {
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: {