Show admins with an icon instead of a group tag

This commit is contained in:
Johannes Zellner
2016-02-25 15:53:36 +01:00
parent b82b183df6
commit 625da29fce
2 changed files with 14 additions and 1 deletions

View File

@@ -144,6 +144,15 @@ app.filter('inProgressApps', function () {
};
});
app.filter('ignoreAdminGroup', function () {
return function (groups) {
return groups.filter(function (group) {
if (group.id) return group.id !== 'admin';
return group !== 'admin';
});
};
});
app.filter('applicationLink', function() {
return function(app) {
if (app.installationState === ISTATES.INSTALLED && app.health === HSTATES.HEALTHY) {