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 () {
|
.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';
|
||||||
|
|
Loading…
Reference in New Issue