Skip to content

Commit

Permalink
Fixed #166
Browse files Browse the repository at this point in the history
  • Loading branch information
poonwu committed Oct 19, 2016
1 parent 070b252 commit 54b1e6a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/js/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1856,6 +1856,10 @@ angular.module('reachRabbitApp.portal.controller', ['reachRabbitApp.service'])
});
} else {
if (mediaId == 'facebook') {
if(response.data.pages.length <= 0) {
$scope.alert.danger('คุณต้องมี Facebook Page เพื่อทำการสมัครด้วย Facebook');
return;
}
$state.go('influencer-signup-select-page', { authData: response.data, ref: ref });
} else {
if (response.data.pages[0].count < $scope.minFollower) {
Expand Down

0 comments on commit 54b1e6a

Please sign in to comment.