Rename defaultHomeserver to homeserver
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
c650b35831
commit
5ca732341a
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ export class LoginViewModel extends ViewModel {
|
||||||
get passwordLoginViewModel() { return this._passwordLoginViewModel; }
|
get passwordLoginViewModel() { return this._passwordLoginViewModel; }
|
||||||
get startSSOLoginViewModel() { return this._startSSOLoginViewModel; }
|
get startSSOLoginViewModel() { return this._startSSOLoginViewModel; }
|
||||||
get completeSSOLoginViewModel(){ return this._completeSSOLoginViewModel; }
|
get completeSSOLoginViewModel(){ return this._completeSSOLoginViewModel; }
|
||||||
get defaultHomeServer() { return this._homeserver; }
|
get homeserver() { return this._homeserver; }
|
||||||
get errorMessage() { return this._errorMessage; }
|
get errorMessage() { return this._errorMessage; }
|
||||||
get showHomeserver() { return !this._hideHomeserver; }
|
get showHomeserver() { return !this._hideHomeserver; }
|
||||||
get cancelUrl() { return this.urlCreator.urlForSegment("session"); }
|
get cancelUrl() { return this.urlCreator.urlForSegment("session"); }
|
||||||
|
|
|
@ -34,7 +34,7 @@ export class LoginView extends TemplateView {
|
||||||
id: "homeserver",
|
id: "homeserver",
|
||||||
type: "text",
|
type: "text",
|
||||||
placeholder: vm.i18n`Your matrix homeserver`,
|
placeholder: vm.i18n`Your matrix homeserver`,
|
||||||
value: vm.defaultHomeServer,
|
value: vm.homeserver,
|
||||||
disabled: vm => vm.isBusy,
|
disabled: vm => vm.isBusy,
|
||||||
onChange: event => vm.updateHomeServer(event.target.value),
|
onChange: event => vm.updateHomeServer(event.target.value),
|
||||||
})
|
})
|
||||||
|
|
Reference in a new issue