$scope.error() is long gone
This commit is contained in:
@@ -73,7 +73,7 @@ angular.module('Application').controller('SupportController', ['$scope', '$locat
|
||||
|
||||
$scope.toggleSshSupport = function () {
|
||||
Client.enableRemoteSupport(!$scope.sshSupportEnabled, function (error) {
|
||||
if (error) return $scope.error(error);
|
||||
if (error) return console.error(error);
|
||||
|
||||
$scope.sshSupportEnabled = !$scope.sshSupportEnabled;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user