Fix active category selection if appstore search is empty

This commit is contained in:
Johannes Zellner
2020-06-18 17:13:20 +02:00
parent d2ac8536b3
commit cd90af35a1

View File

@@ -395,7 +395,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
// TODO does not support testing apps in search
$scope.search = function () {
if (!$scope.searchString) return $scope.showCategory(null, $scope.cachedCategory);
if (!$scope.searchString) return $scope.showCategory($scope.cachedCategory);
$scope.category = '';