Also search within app label if any

This commit is contained in:
Johannes Zellner
2020-01-20 14:38:41 +01:00
parent 36b8b0e6a1
commit 008ac68ecb

View File

@@ -276,7 +276,7 @@ app.filter('appSearchFilter', function () {
return function appSearchFilter(apps, appSearch) {
return apps.filter(function (app) {
if (!appSearch) return true;
return app.fqdn.indexOf(appSearch) !== -1;
return app.fqdn.indexOf(appSearch) !== -1 || (app.label && app.label.indexOf(appSearch) !== -1);
});
};
});