mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
Merge branch 'master' into telemetry-table-config-updates
This commit is contained in:
commit
13ff0c368d
@ -74,6 +74,10 @@ define([], function () {
|
|||||||
return this.cellLimitClasses;
|
return this.cellLimitClasses;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getContextualDomainObject(openmct, objectKeyString) {
|
||||||
|
return openmct.objects.get(objectKeyString);
|
||||||
|
}
|
||||||
|
|
||||||
getContextMenuActions() {
|
getContextMenuActions() {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
@ -171,7 +171,7 @@ export default {
|
|||||||
showContextMenu: function (event) {
|
showContextMenu: function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
this.openmct.objects.get(this.row.objectKeyString).then((domainObject) => {
|
this.row.getContextualDomainObject(this.openmct, this.row.objectKeyString).then(domainObject => {
|
||||||
let contextualObjectPath = this.objectPath.slice();
|
let contextualObjectPath = this.objectPath.slice();
|
||||||
contextualObjectPath.unshift(domainObject);
|
contextualObjectPath.unshift(domainObject);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user