mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
Replace link with button
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
ce5fdd465c
commit
c82af5a0a3
@ -68,7 +68,7 @@ export class LoginView extends TemplateView {
|
||||
}, vm.i18n`Log In`),
|
||||
]),
|
||||
]),
|
||||
t.if(vm => vm.supportsSSOLogin, () => t.p(t.a({className:"SSO", href:"#"}, "Login with SSO"))),
|
||||
t.if(vm => vm.supportsSSOLogin, () => t.button({className: "SSO"}, "Login with SSO")),
|
||||
// use t.mapView rather than t.if to create a new view when the view model changes too
|
||||
t.p(hydrogenGithubLink(t))
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user