mirror of
https://github.com/nasa/openmct.git
synced 2025-03-11 23:14:16 +00:00
pass openmct and object key to function
re-enable historical row action
This commit is contained in:
parent
483f2feac8
commit
080f7b8f4b
src/plugins/telemetryTable
@ -88,7 +88,7 @@ define([], function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getContextMenuActions() {
|
getContextMenuActions() {
|
||||||
return ['viewDatumAction'];
|
return ['viewDatumAction', 'viewHistoricalData'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ export default {
|
|||||||
this.updateViewContext();
|
this.updateViewContext();
|
||||||
this.markRow(event);
|
this.markRow(event);
|
||||||
|
|
||||||
const contextualDomainObject = await this.row.getContextualDomainObject?.();
|
const contextualDomainObject = await this.row.getContextualDomainObject?.(this.openmct, this.row.objectKeyString);
|
||||||
|
|
||||||
let objectPath = this.objectPath;
|
let objectPath = this.objectPath;
|
||||||
if (contextualDomainObject) {
|
if (contextualDomainObject) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user