Hide "remote support" option for managed cloudrons
This commit is contained in:
@@ -64,6 +64,8 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
};
|
||||
|
||||
Client.onReady(function () {
|
||||
if ($scope.config.managed) return;
|
||||
|
||||
Client.getAuthorizedKeys(function (error, keys) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user