Add app message angular filter

This commit is contained in:
Johannes
2016-11-30 17:31:37 +01:00
parent d54e02eed4
commit 2bba87d951
2 changed files with 8 additions and 2 deletions

View File

@@ -104,6 +104,12 @@ app.filter('activeOAuthClients', function () {
};
});
app.filter('prettyAppMessage', function () {
return function (message) {
return message;
};
});
app.filter('installationActive', function () {
return function(app) {
if (app.installationState === ISTATES.ERROR) return false;