$scope.error() is long gone

This commit is contained in:
Johannes Zellner
2021-10-07 17:10:20 +02:00
parent bcd6bdcd9b
commit 7f0035a823

View File

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