Skip to content

Commit

Permalink
default to activeOnly when viewing profiles; as it gives a better ove…
Browse files Browse the repository at this point in the history
…rview of whats running
  • Loading branch information
jstrachan committed May 20, 2013
1 parent aed67d8 commit 039c0d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/profiles.ts
Expand Up @@ -44,7 +44,8 @@ module Fabric {
}

key = $location.search()['ao'];
if (angular.isDefined(key) && key === 'true') {
// lets default to activeOnly if no query parameter used
if (!angular.isDefined(key) || key === 'true') {
$scope.activeOnly = true;
} else {
$scope.activeOnly = false;
Expand Down

0 comments on commit 039c0d4

Please sign in to comment.