Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b668dfb

Browse files
t3chguyJohennes
authored andcommitted
Fix issue with ServerInfo crashing the modal (#8364)
1 parent 15111de commit b668dfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/views/dialogs/devtools/ServerInfo.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ const ServerInfo = ({ onBack }: IDevtoolsProps) => {
7474
}
7575

7676
<h4>{ _t("Client Versions") }</h4>
77-
{ capabilities !== FAILED_TO_LOAD
77+
{ clientVersions !== FAILED_TO_LOAD
7878
? <SyntaxHighlight language="json" children={JSON.stringify(clientVersions, null, 4)} />
7979
: <div>{ _t("Failed to load.") }</div>
8080
}
8181

8282
<h4>{ _t("Server Versions") }</h4>
83-
{ capabilities !== FAILED_TO_LOAD
83+
{ serverVersions !== FAILED_TO_LOAD
8484
? <SyntaxHighlight language="json" children={JSON.stringify(serverVersions, null, 4)} />
8585
: <div>{ _t("Failed to load.") }</div>
8686
}

0 commit comments

Comments
 (0)