mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-1896: Clean up unreachable code.
This commit is contained in:
@@ -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) : {};
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user