pass openmct and object key to function

re-enable historical row action
This commit is contained in:
David Tsay 2023-03-29 17:09:35 -07:00
parent 483f2feac8
commit 080f7b8f4b
2 changed files with 2 additions and 2 deletions
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) {