Add scheduled scheduled maintenances to the status bar
This commit is contained in:
parent
9254cda0db
commit
bc6baae050
2 changed files with 9 additions and 2 deletions
|
@ -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'] || [];
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue