Only show support ticket and remote support UI for paid plans
This commit is contained in:
@@ -71,6 +71,8 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
}
|
||||
|
||||
Client.onReady(function () {
|
||||
getSubscription();
|
||||
|
||||
Client.getSupportConfig(function (error, supportConfig) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
@@ -80,8 +82,6 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
if (error) return console.error(error);
|
||||
|
||||
$scope.sshSupportEnabled = enabled;
|
||||
|
||||
getSubscription();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user