Do not allow to send tickets for community repo apps
This commit is contained in:
@@ -10,6 +10,7 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
$scope.config = Client.getConfig();
|
||||
$scope.user = Client.getUserInfo();
|
||||
$scope.apps = Client.getInstalledApps();
|
||||
$scope.appsById = {};
|
||||
$scope.supportConfig = null;
|
||||
|
||||
$scope.feedback = {
|
||||
@@ -105,6 +106,8 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
Client.getRemoteSupport(function (error, enabled) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
Client.getInstalledApps().forEach(function (app) { $scope.appsById[app.id] = app; });
|
||||
|
||||
$scope.sshSupportEnabled = enabled;
|
||||
$scope.ready = true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user