Skip to content

Commit

Permalink
Fixed #237
Browse files Browse the repository at this point in the history
  • Loading branch information
poonwu committed Oct 19, 2016
1 parent 01996e4 commit 070b252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ angular.module('reachRabbitApp.controller', ['reachRabbitApp.service'])

$scope.hasPastMessage = function () {
if(!$scope.msglist) return false;
if($scope.msglist.length == 0) return false;
if($scope.msglist.length === 0) return false;
return $scope.totalElements > $scope.msglist.length;
};

Expand Down Expand Up @@ -638,6 +638,7 @@ angular.module('reachRabbitApp.influencer.controller', ['reachRabbitApp.service'
$scope.formData.bank = profile.data.influencer.bank;
$scope.formData.accountNumber = profile.data.influencer.accountNumber;
$scope.formData.accountName = profile.data.influencer.accountName;
$scope.formData.rememberBankDetail = true;
});

InfluencerAccountService.getWallet().then(function (walletResponse) {
Expand Down

0 comments on commit 070b252

Please sign in to comment.