Skip to content

Commit

Permalink
disable the icon on the profile view as it tends to generate a nasty …
Browse files Browse the repository at this point in the history
…flicker for #45
  • Loading branch information
jstrachan committed Apr 10, 2013
1 parent 4b94763 commit 0311f01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hawtio-web/src/main/webapp/app/camel/js/profile.ts
Expand Up @@ -11,7 +11,8 @@ module Camel {
{
field: 'id',
displayName: 'Id',
cellTemplate: '<div class="ngCellText"><span ng-bind-html-unsafe="rowIcon(row.entity.id)"/> {{row.entity.id}}</div>',
// TODO while nice this does seem to cause a nasty flicker so disabling the icon rendering for now
// cellTemplate: '<div class="ngCellText" ng-bind-html-unsafe="rowIcon(row.entity.id)"></div>',
cellFilter: null,
width: "*",
resizable: true
Expand Down Expand Up @@ -98,7 +99,7 @@ module Camel {
}

}
return answer;
return answer ? answer += " " + id : id;
};

$scope.gridOptions = {
Expand Down

0 comments on commit 0311f01

Please sign in to comment.