Replace link with button

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-11 15:30:36 +05:30
parent ce5fdd465c
commit c82af5a0a3

View File

@ -68,7 +68,7 @@ export class LoginView extends TemplateView {
}, vm.i18n`Log In`), }, 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 // use t.mapView rather than t.if to create a new view when the view model changes too
t.p(hydrogenGithubLink(t)) t.p(hydrogenGithubLink(t))
]) ])