Fix no identity server in help & about settings (#10563)
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