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

View File

@ -88,7 +88,7 @@ define([], function () {
}
getContextMenuActions() {
return ['viewDatumAction'];
return ['viewDatumAction', 'viewHistoricalData'];
}
}

View File

@ -181,7 +181,7 @@ export default {
this.updateViewContext();
this.markRow(event);
const contextualDomainObject = await this.row.getContextualDomainObject?.();
const contextualDomainObject = await this.row.getContextualDomainObject?.(this.openmct, this.row.objectKeyString);
let objectPath = this.objectPath;
if (contextualDomainObject) {