mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Fix no identity server in help & about settings (#10563)
This commit is contained in:
parent
a2c2c01edc
commit
b4d7f6b592
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user