From 4b1cb76eaf4efffbb0f59e1336f7fdc1fbeadaeb Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Mon, 24 Feb 2020 14:36:52 +0100 Subject: [PATCH] Remove unused angular filter for oauth clients --- src/js/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/js/index.js b/src/js/index.js index 48e278ffd..97ee9b4a9 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -208,12 +208,6 @@ app.filter('applicationLink', function() { }; }); -app.filter('activeOAuthClients', function () { - return function (clients, user) { - return clients.filter(function (c) { return user.admin || (c.activeTokens && c.activeTokens.length > 0); }); - }; -}); - // this appears when an item in app grid is clicked app.filter('prettyAppErrorMessage', function () { return function (app) {