From a40a845f91f9e63caee44c38f846920e3624e48b Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Thu, 1 May 2014 12:51:23 -0400 Subject: [PATCH] ui: see warning as failing --- ui/javascripts/app/controllers.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/javascripts/app/controllers.js b/ui/javascripts/app/controllers.js index 9a0ecc38df..4cd777838e 100644 --- a/ui/javascripts/app/controllers.js +++ b/ui/javascripts/app/controllers.js @@ -50,7 +50,8 @@ App.DcController = Ember.Controller.extend({ // hasFailingChecks: function() { var checks = this.get('checks') - return (checks.filterBy('Status', 'critical').get('length') > 0); + return (checks.filterBy('Status', 'critical').get('length') + + checks.filterBy('Status', 'warning').get('length')); }.property('nodes'), actions: {