mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
use url to go back in login view
This commit is contained in:
parent
35e85c55e0
commit
33627edcb3
@ -51,9 +51,9 @@ export class LoginView extends TemplateView {
|
|||||||
t.div({className: "form-row"}, [t.label({for: "homeserver"}, vm.i18n`Homeserver`), homeserver]),
|
t.div({className: "form-row"}, [t.label({for: "homeserver"}, vm.i18n`Homeserver`), homeserver]),
|
||||||
t.mapView(vm => vm.loadViewModel, loadViewModel => loadViewModel ? new SessionLoadStatusView(loadViewModel) : null),
|
t.mapView(vm => vm.loadViewModel, loadViewModel => loadViewModel ? new SessionLoadStatusView(loadViewModel) : null),
|
||||||
t.div({className: "button-row"}, [
|
t.div({className: "button-row"}, [
|
||||||
t.button({
|
t.a({
|
||||||
className: "styled secondary",
|
className: "button styled secondary",
|
||||||
onClick: () => vm.cancel(), disabled
|
href: vm.cancelUrl
|
||||||
}, [vm.i18n`Go Back`]),
|
}, [vm.i18n`Go Back`]),
|
||||||
t.button({
|
t.button({
|
||||||
className: "styled primary",
|
className: "styled primary",
|
||||||
|
Loading…
Reference in New Issue
Block a user