mirror of
https://github.com/nasa/openmct.git
synced 2025-01-18 18:57:01 +00:00
[SummaryWidget] Use objectutil to get legacy id
Use objectUtils to get a proper legacy id so that namespaces are properly handled. Fixes https://github.com/nasa/openmct/issues/1858
This commit is contained in:
parent
1ad5094b72
commit
5ec3b98d1c
@ -5,6 +5,7 @@ define([
|
||||
'./TestDataManager',
|
||||
'./WidgetDnD',
|
||||
'./eventHelpers',
|
||||
'../../../api/objects/object-utils',
|
||||
'lodash',
|
||||
'zepto'
|
||||
], function (
|
||||
@ -14,6 +15,7 @@ define([
|
||||
TestDataManager,
|
||||
WidgetDnD,
|
||||
eventHelpers,
|
||||
objectUtils,
|
||||
_,
|
||||
$
|
||||
) {
|
||||
@ -77,7 +79,7 @@ define([
|
||||
this.addHyperlink(domainObject.url, domainObject.openNewTab);
|
||||
this.watchForChanges(openmct, domainObject);
|
||||
|
||||
var id = this.domainObject.identifier.key,
|
||||
var id = objectUtils.makeKeyString(this.domainObject.identifier),
|
||||
self = this,
|
||||
oldDomainObject,
|
||||
statusCapability;
|
||||
|
Loading…
Reference in New Issue
Block a user