mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 03:55:31 +00:00
adding edit listener to inspector tabs component as well
This commit is contained in:
parent
97292d4ba3
commit
e7eb07023c
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user