From 56cf9212d3757edcbb454a18e1cbbc0bedfc4eb8 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 19 Apr 2022 17:21:40 +0100 Subject: [PATCH] Fix issue with ServerInfo crashing the modal (#8364) --- src/components/views/dialogs/devtools/ServerInfo.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/dialogs/devtools/ServerInfo.tsx b/src/components/views/dialogs/devtools/ServerInfo.tsx index ff18d836e5..23b6528eac 100644 --- a/src/components/views/dialogs/devtools/ServerInfo.tsx +++ b/src/components/views/dialogs/devtools/ServerInfo.tsx @@ -74,13 +74,13 @@ const ServerInfo = ({ onBack }: IDevtoolsProps) => { }

{ _t("Client Versions") }

- { capabilities !== FAILED_TO_LOAD + { clientVersions !== FAILED_TO_LOAD ? :
{ _t("Failed to load.") }
}

{ _t("Server Versions") }

- { capabilities !== FAILED_TO_LOAD + { serverVersions !== FAILED_TO_LOAD ? :
{ _t("Failed to load.") }
}