mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
style(swarm): update node status filter for swarm mode nodes
This commit is contained in:
parent
d03e992b4f
commit
e6dee37af0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue