mirror of
https://github.com/nasa/openmct.git
synced 2025-05-08 19:48:41 +00:00
[Info Bubble] Include type in common metadata
Include type in common domain object metadata to display in an info bubble, WTD-884.
This commit is contained in:
parent
c9e33b1d31
commit
cae8372d34
@ -55,11 +55,17 @@ define(
|
||||
}
|
||||
|
||||
function getCommonMetadata() {
|
||||
var type = domainObject.getCapability('type');
|
||||
// Note that invalid values will be filtered out later
|
||||
return [
|
||||
{
|
||||
name: "Updated",
|
||||
value: formatTimestamp(model.modified)
|
||||
},
|
||||
{
|
||||
name: "Type",
|
||||
value: type && type.getName()
|
||||
},
|
||||
{
|
||||
name: "ID",
|
||||
value: domainObject.getId()
|
||||
|
Loading…
x
Reference in New Issue
Block a user