From 5c8563721bc1f90deee17e08d860d2379293cdb6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 19 Apr 2022 16:54:04 +0100 Subject: [PATCH] Fix issue with ServerInfo crashing the modal --- 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 ff18d836e5c..23b6528eacc 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.") }
}