[ARVADOS-WORKBENCH2] updated: 2.1.0-34-g3e39b2f9

Git user git at public.arvados.org
Fri Oct 23 22:19:47 UTC 2020


Summary of changes:
 src/common/redirect-to.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  3e39b2f9179e12766ca1728111b34b2e50cb6ba2 (commit)
      from  6e79ab41b81d172316afd5e0091175d7838d3f99 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 3e39b2f9179e12766ca1728111b34b2e50cb6ba2
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Sun Oct 18 23:51:10 2020 +0200

    16005: Fixed tests
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/src/common/redirect-to.ts b/src/common/redirect-to.ts
index 11978569..f39719f0 100644
--- a/src/common/redirect-to.ts
+++ b/src/common/redirect-to.ts
@@ -34,7 +34,7 @@ export const handleRedirects = (token: string, config: Config) => {
         const applyToPath = localStorage.getItem(REDIRECT_TO_APPLY_TO_PATH);
 
         if (redirectUrl) {
-            if (applyToPath) {
+            if (applyToPath === 'true') {
                 localStorage.removeItem(REDIRECT_TO_APPLY_TO_PATH);
                 setTimeout(() => {
                     window.location.pathname = redirectUrl;

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list