feat(storidge): cluster condition badge

storidge-standalone
baron_l 2019-04-28 00:19:06 +02:00
parent d4772672bb
commit 3c97a88a5a
1 changed files with 2 additions and 0 deletions

View File

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