mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Rename defaultHomeserver to homeserver
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
c650b35831
commit
5ca732341a
@ -45,7 +45,7 @@ export class LoginViewModel extends ViewModel {
|
||||
get passwordLoginViewModel() { return this._passwordLoginViewModel; }
|
||||
get startSSOLoginViewModel() { return this._startSSOLoginViewModel; }
|
||||
get completeSSOLoginViewModel(){ return this._completeSSOLoginViewModel; }
|
||||
get defaultHomeServer() { return this._homeserver; }
|
||||
get homeserver() { return this._homeserver; }
|
||||
get errorMessage() { return this._errorMessage; }
|
||||
get showHomeserver() { return !this._hideHomeserver; }
|
||||
get cancelUrl() { return this.urlCreator.urlForSegment("session"); }
|
||||
|
@ -34,7 +34,7 @@ export class LoginView extends TemplateView {
|
||||
id: "homeserver",
|
||||
type: "text",
|
||||
placeholder: vm.i18n`Your matrix homeserver`,
|
||||
value: vm.defaultHomeServer,
|
||||
value: vm.homeserver,
|
||||
disabled: vm => vm.isBusy,
|
||||
onChange: event => vm.updateHomeServer(event.target.value),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user