mirror of https://github.com/portainer/portainer
feat(storidge): cluster condition badge
parent
d4772672bb
commit
3c97a88a5a
|
@ -31,6 +31,8 @@ angular.module('extension.storidge')
|
|||
var status = text ? _.toLower(text) : '';
|
||||
if (status === 'alert') {
|
||||
return 'red-icon';
|
||||
} else if (status === 'warning') {
|
||||
return 'orange-icon';
|
||||
}
|
||||
return 'green-icon';
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue