Do not allow to send tickets for community repo apps

This commit is contained in:
Johannes Zellner
2022-11-11 11:56:42 +01:00
parent 4c21b179ea
commit ff87d28b20
3 changed files with 9 additions and 2 deletions
+3
View File
@@ -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;
});