mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 06:02:25 +03:00
Fix rogue instance of old hsUrl property
This commit is contained in:
parent
ae63df95ea
commit
4ada66d319
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ export default class PasswordLogin extends React.Component {
|
||||||
type="text"
|
type="text"
|
||||||
label={SdkConfig.get().disable_custom_urls ?
|
label={SdkConfig.get().disable_custom_urls ?
|
||||||
_t("Username on %(hs)s", {
|
_t("Username on %(hs)s", {
|
||||||
hs: this.props.hsUrl.replace(/^https?:\/\//, ''),
|
hs: this.props.serverConfig.hsName,
|
||||||
}) : _t("Username")}
|
}) : _t("Username")}
|
||||||
value={this.state.username}
|
value={this.state.username}
|
||||||
onChange={this.onUsernameChanged}
|
onChange={this.onUsernameChanged}
|
||||||
|
|
Loading…
Reference in a new issue