Only show status bar if there are any incidents

This commit is contained in:
Joseph Schorr 2015-03-06 14:06:20 -05:00
parent 12b458780b
commit 36b6ec5813

View file

@ -1,4 +1,4 @@
<div class="announcement inline" ng-show="indicator != 'none' && indicator != 'loading'"> <div class="announcement inline" ng-show="indicator != 'none' && indicator != 'loading' && incidents">
<div ng-repeat="incident in incidents"> <div ng-repeat="incident in incidents">
<span class="quay-service-status-indicator" ng-class="indicator" <span class="quay-service-status-indicator" ng-class="indicator"
ng-if="indicator != 'loading'"></span> ng-if="indicator != 'loading'"></span>