Skip to content

Commit

Permalink
add possible NPE fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstrachan committed Nov 1, 2013
1 parent 7b61b2c commit 462676d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hawtio-web/src/main/webapp/app/osgi/js/helpers.ts
Expand Up @@ -198,7 +198,8 @@ module Osgi {
if (answer.length > 0) {
prefix = " ";
}
var labelText = allValues[value].SymbolicName;
var info = allValues[value] || {};
var labelText = info.SymbolicName;
answer += prefix + "<a class='label' href='" + url("#/osgi/bundle/" + value + workspace.hash()) + "'>" + labelText + "</a>";
});
return answer;
Expand Down

0 comments on commit 462676d

Please sign in to comment.