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

Commit

Permalink
Fix no identity server in help & about settings (#10563)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Apr 13, 2023
1 parent a2c2c01 commit b4d7f6b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/components/views/settings/tabs/user/HelpUserSettingsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,15 +338,16 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
)}
</div>
<div>
{_t(
"Identity server is <code>%(identityServerUrl)s</code>",
{
identityServerUrl: MatrixClientPeg.get().getIdentityServerUrl(),
},
{
code: (sub) => <code>{sub}</code>,
},
)}
{MatrixClientPeg.get().getIdentityServerUrl() &&
_t(
"Identity server is <code>%(identityServerUrl)s</code>",
{
identityServerUrl: MatrixClientPeg.get().getIdentityServerUrl(),
},
{
code: (sub) => <code>{sub}</code>,
},
)}
</div>
<details>
<summary>{_t("Access Token")}</summary>
Expand Down

0 comments on commit b4d7f6b

Please sign in to comment.