isPaying is not set properly for non-caas

This commit is contained in:
Girish Ramakrishnan
2017-06-21 20:37:24 -07:00
parent 6d0cdc36b2
commit 4d7f9ba9a5
2 changed files with 6 additions and 2 deletions

View File

@@ -145,6 +145,11 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
}
function getSubscription() {
if ($scope.config.provider === 'caas') {
$scope.isPaying = true;
return;
}
Client.getAppstoreConfig(function (error, result) {
if (error) return console.error(error);