mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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 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),
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user