[ARVADOS-WORKBENCH2] updated: 1.3.0-329-g789db184

Git user git at public.curoverse.com
Thu Jan 3 05:34:54 EST 2019


Summary of changes:
 src/store/users/users-actions.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  789db184c88781fca23f769403003a7ce7715f5d (commit)
      from  f71049ee5bf2560fbbca09c1f141e176e1a7eb06 (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 789db184c88781fca23f769403003a7ce7715f5d
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Thu Jan 3 11:34:47 2019 +0100

    refs #14565-login-as-someone
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/store/users/users-actions.ts b/src/store/users/users-actions.ts
index 7ea927de..403e55ee 100644
--- a/src/store/users/users-actions.ts
+++ b/src/store/users/users-actions.ts
@@ -53,8 +53,8 @@ export const loginAs = (uuid: string) =>
     async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
         const client = await services.apiClientAuthorizationService.create({ ownerUuid: uuid });
         dispatch<any>(saveApiToken(client.apiToken));
+        location.reload();
         dispatch<any>(getUserDetails()).then(() => {
-            location.reload();
             dispatch<any>(navigateToRootProject);
         });
     };

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list