Hide "remote support" option for managed cloudrons

This commit is contained in:
Girish Ramakrishnan
2018-11-06 21:50:10 -08:00
parent c2ba059ced
commit 50bf193fd1
2 changed files with 4 additions and 2 deletions

View File

@@ -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);