mirror of
https://github.com/nasa/openmct.git
synced 2025-03-23 04:25:27 +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() {
|
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: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user