After login/register, get the latest subscription
This commit is contained in:
@@ -285,7 +285,11 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
|
||||
return;
|
||||
}
|
||||
|
||||
onSubscribed();
|
||||
getSubscription(function (error) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
onSubscribed();
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -449,6 +453,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca
|
||||
return callback(error);
|
||||
}
|
||||
} else {
|
||||
$scope.validSubscription = true;
|
||||
$scope.subscription = subscription;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user