Do not reload all apps when search is empty

This commit is contained in:
Johannes Zellner
2017-01-28 19:57:32 -08:00
parent 599b070779
commit 0dceba8a1c
2 changed files with 2 additions and 2 deletions

View File

@@ -284,7 +284,7 @@
</div>
</div>
<div class="col-md-10 animateMeOpacity loading-banner" ng-show="!apps.length">
<h3 class="text-muted">No applications in this category.</h3>
<h3 class="text-muted">No apps found.</h3>
<a href="" ng-click="feedback.show()"><h3>Let us know if you miss something.</h3></a>
</div>
</div>

View File

@@ -389,7 +389,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
$scope.ready = false;
getAppList(function (error, apps) {
AppStore.getAppsFast(function (error, apps) {
if (error) return $timeout($scope.showCategory.bind(null, event), 1000);
if (!$scope.category) {