GUACAMOLE-1896: Clean up unreachable code.

This commit is contained in:
James Muehlner
2024-01-03 22:03:43 +00:00
parent f23b6671e9
commit 1156875fef

View File

@@ -493,8 +493,7 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
// Update available connection parameters, if the updated arguments are
// for the current focused client - otherwise ignore them
if ($scope.focusedClient && $scope.focusedClient === focusedClient)
$scope.menu.connectionParameters = focusedClient ?
ManagedClient.getArgumentModel(focusedClient) : {};
$scope.menu.connectionParameters = ManagedClient.getArgumentModel(focusedClient);
});