Rename defaultHomeserver to homeserver

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-20 20:09:12 +05:30
parent c650b35831
commit 5ca732341a
2 changed files with 2 additions and 2 deletions

View file

@ -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"); }

View file

@ -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),
})