Add scheduled scheduled maintenances to the status bar

This commit is contained in:
Joseph Schorr 2015-03-18 13:49:34 -04:00
parent 9254cda0db
commit bc6baae050
2 changed files with 9 additions and 2 deletions

View file

@ -14,7 +14,8 @@ angular.module('quay').directive('quayServiceStatusBar', function () {
StatusService.getStatus(function(data) {
$scope.indicator = data['status']['indicator'];
$scope.incidents = data['incidents'];
$scope.incidents = data['incidents'] || [];
$scope.scheduled_maintenances = data['scheduled_maintenances'] || [];
});
}
};