Skip to content

Commit

Permalink
Merge pull request #488 from phuonghuynh/master
Browse files Browse the repository at this point in the history
Update changes
  • Loading branch information
phuonghuynh committed Jan 14, 2016
2 parents be5e09e + 67b7983 commit 9ab8fa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/webapp/assets/modules/contests/contests.con.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ techlooper.controller('contestsController', function (apiService, $scope, jsonVa
utils.sendNotification(jsonValue.notifications.loading);
apiService.filterContests(type, keyword).success(function (contests){
$scope.contestsList = contests;
console.log($scope.contestsList);
//console.log($scope.contestsList);
}).finally(function () {
utils.sendNotification(jsonValue.notifications.loaded);
});
};

});
2 changes: 1 addition & 1 deletion src/main/webapp/assets/modules/contests/contests.tem.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h2 translate="challengeYourself"></h2>
<div class="contest-item-row no-data-found" ng-if="!contestsList.length">
<p translate="noData"></p>
</div>
<challenge-list ng-if="contestsList.length"></challenge-list>
<challenge-list ng-show="contestsList.length"></challenge-list>
<sign-in-internal-challenge></sign-in-internal-challenge>
</div>
</div>
Expand Down

0 comments on commit 9ab8fa9

Please sign in to comment.