Fixup support view if not yet logged into the appstore
This commit is contained in:
@@ -89,7 +89,10 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
|
||||
Client.onReady(function () {
|
||||
Client.getSubscription(function (error, result) {
|
||||
if (error && error.statusCode === 412) return; // not yet registered
|
||||
if (error && error.statusCode === 402) {
|
||||
$scope.ready = true;
|
||||
return; // not yet registered
|
||||
}
|
||||
if (error) return console.error(error);
|
||||
|
||||
$scope.subscription = result;
|
||||
|
||||
Reference in New Issue
Block a user