From 83ac3eccc5c16fe15f19a91fc82c2264d7e5e861 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 9 Oct 2020 17:04:25 +0200 Subject: [PATCH] apply url changes to view gallery --- src/ui/web/view-gallery.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/web/view-gallery.html b/src/ui/web/view-gallery.html index 625a8b39..46b69e16 100644 --- a/src/ui/web/view-gallery.html +++ b/src/ui/web/view-gallery.html @@ -45,7 +45,7 @@ const view = new LoginView(vm({ defaultHomeServer: "https://hs.tld", login: () => alert("Logging in!"), - goBack: () => alert("Going back"), + cancelUrl: "#/session" })); document.getElementById("login").appendChild(view.mount()); @@ -59,6 +59,7 @@ loadLabel: "Doing something important...", loading: true, }), + cancelUrl: "#/session", defaultHomeServer: "https://hs.tld", })); document.getElementById("login-loading").appendChild(view.mount());