mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 19:50:36 +00:00
ui: see warning as failing
This commit is contained in:
parent
17423ea654
commit
a40a845f91
@ -50,7 +50,8 @@ App.DcController = Ember.Controller.extend({
|
|||||||
//
|
//
|
||||||
hasFailingChecks: function() {
|
hasFailingChecks: function() {
|
||||||
var checks = this.get('checks')
|
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'),
|
}.property('nodes'),
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user