1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-21 22:39:41 +02:00

Update post in service with correct id

This commit is contained in:
Michael Crosby 2013-06-09 14:56:54 -09:00
parent d4c556752f
commit 92e81a76dc
6 changed files with 58 additions and 25 deletions

View file

@ -21,6 +21,8 @@ angular.module('dockerui.filters', [])
return function(text) {
if (text === 'Ghost') {
return 'important';
} else if (text.indexOf('Exit') != -1 && text !== 'Exit 0') {
return 'warning';
}
return 'success';
};