mirror of
https://github.com/nasa/openmct.git
synced 2025-01-23 04:48:12 +00:00
pass openmct and object key to function
re-enable historical row action
This commit is contained in:
parent
483f2feac8
commit
080f7b8f4b
@ -88,7 +88,7 @@ define([], function () {
|
||||
}
|
||||
|
||||
getContextMenuActions() {
|
||||
return ['viewDatumAction'];
|
||||
return ['viewDatumAction', 'viewHistoricalData'];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user