1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

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

This commit is contained in:
morph027 2017-01-25 21:54:08 +01:00 committed by Anthony Lapenna
parent d03e992b4f
commit e6dee37af0

View file

@ -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';