From c78f6d7dba74bdea1c740e6a29eb8625d281374e Mon Sep 17 00:00:00 2001 From: "Cornelius A. Ludmann" Date: Mon, 7 Jun 2021 14:33:57 +0000 Subject: [PATCH] [dashboard] Fix product reference on the login page --- components/dashboard/src/Login.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dashboard/src/Login.tsx b/components/dashboard/src/Login.tsx index e4e9812d6824bc..79893dcaf1873b 100644 --- a/components/dashboard/src/Login.tsx +++ b/components/dashboard/src/Login.tsx @@ -55,7 +55,7 @@ export function Login() { // Check for a valid returnTo in payload const safeReturnTo = getSafeURLRedirect(payload); if (safeReturnTo) { - // ... and if it is, redirect to it + // ... and if it is, redirect to it window.location.replace(safeReturnTo); } } @@ -128,7 +128,7 @@ export function Login() {
-

Log in{showWelcome ? ' to Gitpod' : ''}

+

Log in{showWelcome ? '' : ' to Gitpod'}

ALWAYS READY-TO-CODE