style(swarm): update node status filter for swarm mode nodes

pull/551/head
morph027 2017-01-25 21:54:08 +01:00 committed by Anthony Lapenna
parent d03e992b4f
commit e6dee37af0
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ angular.module('portainer.filters', [])
.filter('nodestatusbadge', function () { .filter('nodestatusbadge', function () {
'use strict'; 'use strict';
return function (text) { return function (text) {
if (text === 'Unhealthy') { if (text === 'down' || text === 'Unhealthy') {
return 'danger'; return 'danger';
} }
return 'success'; return 'success';