mirror of https://github.com/portainer/portainer
style(swarm): update node status filter for swarm mode nodes
parent
d03e992b4f
commit
e6dee37af0
|
@ -67,7 +67,7 @@ angular.module('portainer.filters', [])
|
|||
.filter('nodestatusbadge', function () {
|
||||
'use strict';
|
||||
return function (text) {
|
||||
if (text === 'Unhealthy') {
|
||||
if (text === 'down' || text === 'Unhealthy') {
|
||||
return 'danger';
|
||||
}
|
||||
return 'success';
|
||||
|
|
Loading…
Reference in New Issue