GUACAMOLE-1896: Merge clean up unreachable code.

This commit is contained in:
Virtually Nick
2024-01-03 17:08:50 -05:00
committed by GitHub

View File

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