Fix no identity server in help & about settings (#10563)

This commit is contained in:
Michael Telatynski 2023-04-13 08:25:51 +01:00 committed by GitHub
parent a2c2c01edc
commit b4d7f6b592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -338,7 +338,8 @@ export default class HelpUserSettingsTab extends React.Component<IProps, IState>
)} )}
</div> </div>
<div> <div>
{_t( {MatrixClientPeg.get().getIdentityServerUrl() &&
_t(
"Identity server is <code>%(identityServerUrl)s</code>", "Identity server is <code>%(identityServerUrl)s</code>",
{ {
identityServerUrl: MatrixClientPeg.get().getIdentityServerUrl(), identityServerUrl: MatrixClientPeg.get().getIdentityServerUrl(),