From a7558cadaa17d507d558d8e0591ef122b427a631 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 5 Aug 2022 14:27:45 +0200 Subject: [PATCH] Avoid crash in filter for apptype link --- src/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/index.js b/src/js/index.js index a6ee76fc3..137de30e6 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -247,7 +247,7 @@ app.filter('selectedTagFilter', function () { app.filter('selectedDomainFilter', function () { return function selectedDomainFilter(apps, selectedDomain) { return apps.filter(function (app) { - if (!selectedDomain) return true; + if (!selectedDomain || app.type === APP_TYPES.LINK) return true; if (selectedDomain._alldomains) return true; // magic domain for single select, see apps.js ALL_DOMAINS_DOMAIN if (selectedDomain.domain === app.domain) return true;