Skip to content

Commit

Permalink
fix(netflix/availability): Show Danger title when overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsquared committed Apr 20, 2017
1 parent 029f6e8 commit 2a20cfd
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -37,6 +37,7 @@ export class AvailabilityController implements ng.IComponentController {
// Figure out score
if (result.override.value === true) {
score = 4;
title = 'Danger';
reason = result.override.reason;
} else if (result.trends.yesterday.score > 1) {
// If there were recent incidents yesterday
Expand Down

0 comments on commit 2a20cfd

Please sign in to comment.