From 194e5da530c17f755b815f44af121673a1d045f0 Mon Sep 17 00:00:00 2001 From: JensForstmann <19289807+JensForstmann@users.noreply.github.com> Date: Sun, 21 Apr 2024 16:29:15 +0200 Subject: [PATCH] Remove Steam url to connect to server since it's broken for some time now (Valve, pls fix) --- frontend/src/assets/Icons.tsx | 14 -------------- frontend/src/components/GameServerCard.tsx | 7 +------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/frontend/src/assets/Icons.tsx b/frontend/src/assets/Icons.tsx index daa22eb..fefe834 100644 --- a/frontend/src/assets/Icons.tsx +++ b/frontend/src/assets/Icons.tsx @@ -104,20 +104,6 @@ export const SvgCopyAll: Component> = (props) => ( ); -export const SvgOpenInNew: Component> = (props) => ( - - - - -); - export const SvgNavigateBefore: Component> = (props) => ( = (props) => { const ipPort = () => `${props.match.gameServer.ip}:${props.match.gameServer.port}`; - const steamUrl = () => `steam://connect/${ipPort()}/${props.match.serverPassword}`; const command = () => (props.match.serverPassword ? `password "${props.match.serverPassword}"; ` : '') + `connect ${ipPort()}`; @@ -18,10 +17,6 @@ export const GameServerCard: Component<{

{t('Game Server')}

- - {steamUrl()} - -
{command()}