Skip to content

Commit

Permalink
Merge pull request #937 from spadgett/monitoring-page-type-order
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Nov 29, 2016
2 parents f892e0a + b4aa2b3 commit b94910f
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 226 deletions.
13 changes: 6 additions & 7 deletions app/scripts/controllers/monitoring.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,21 @@ angular.module('openshiftConsole')

$scope.kinds = [
{
kind: "Pods"
kind: "All"
},
{
kind: "Builds"
kind: "Pods"
},
{
label: "Deployments",
kind: "ReplicationControllers"
},
{
kind: "Builds"
}
];
var defaultKind = {
kind: "All"
};
$scope.kinds.push(defaultKind);
$scope.kindSelector = {
selected: _.find($scope.kinds, {kind: $routeParams.kind}) || defaultKind
selected: _.find($scope.kinds, {kind: $routeParams.kind}) || _.head($scope.kinds)
};

$scope.logOptions = {
Expand Down
Loading

0 comments on commit b94910f

Please sign in to comment.