Skip to content

Commit

Permalink
fixes #506
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Sep 3, 2013
1 parent 12000fa commit af29fa0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hawtio-web/src/main/webapp/app/jmx/js/attributes.ts
Expand Up @@ -264,10 +264,15 @@ module Jmx {
if (showAllAttributes || includePropertyValue(key, value)) {
// always skip keys which start with _
if (!key.startsWith("_")) {
// lets format the ObjectName nicely
// lets format the ObjectName nicely dealing with objects with
// nested object names or arrays of object names
if (key === "ObjectName") {
value = unwrapObjectName(value);
}
// lets unwrap any arrays of object names
if (angular.isArray(value)) {
value = value.map((v) => { return unwrapObjectName(v); });
}
var data = {key: key, name: humanizeValue(key), value: value};

generateSummaryAndDetail(data);
Expand Down

0 comments on commit af29fa0

Please sign in to comment.