mirror of
https://github.com/nasa/openmct.git
synced 2025-03-20 02:55:18 +00:00
Disable extended lines on unmount
This commit is contained in:
parent
25ca7d4321
commit
1ea2cf9ce5
@ -74,10 +74,10 @@ export default {
|
||||
const objectPath = inject('path');
|
||||
const openmct = inject('openmct');
|
||||
|
||||
const { disable: disableExetendedLinesForObject, enable: enableExtendedLinesForObject } =
|
||||
const { disable: disableExtendedLinesForObject, enable: enableExtendedLinesForObject } =
|
||||
useExtendedLines(domainObject, objectPath, openmct);
|
||||
|
||||
return { disableExetendedLinesForObject, enableExtendedLinesForObject };
|
||||
return { disableExtendedLinesForObject, enableExtendedLinesForObject };
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -109,6 +109,8 @@ export default {
|
||||
this.removeSelectable();
|
||||
}
|
||||
|
||||
this.disableExtendEventLines();
|
||||
|
||||
if (this.removeStatusListener) {
|
||||
this.removeStatusListener();
|
||||
}
|
||||
@ -155,7 +157,7 @@ export default {
|
||||
},
|
||||
disableExtendEventLines() {
|
||||
const keyString = this.openmct.objects.makeKeyString(this.item.domainObject.identifier);
|
||||
this.disableExetendedLinesForObject(keyString);
|
||||
this.disableExtendedLinesForObject(keyString);
|
||||
},
|
||||
setActionCollection(actionCollection) {
|
||||
this.openmct.menus.actionsToMenuItems(
|
||||
|
Loading…
x
Reference in New Issue
Block a user