projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
correct-order-for-public-favorites-inside-tree-project
[arvados.git]
/
src
/
store
/
auth
/
auth-action.ts
diff --git
a/src/store/auth/auth-action.ts
b/src/store/auth/auth-action.ts
index fdaa2e1a0803dad217986c8a6390a09eea052c98..baf80595f300ad9fb7d181aa8ba5441303e71aab 100644
(file)
--- a/
src/store/auth/auth-action.ts
+++ b/
src/store/auth/auth-action.ts
@@
-54,6
+54,9
@@
export const initAuth = (config: Config) => (dispatch: Dispatch, getState: () =>
if (token && user) {
dispatch(authActions.INIT({ user, token }));
dispatch<any>(initSessions(services.authService, config, user));
+ dispatch<any>(getUserDetails()).then((user: User) => {
+ dispatch(authActions.INIT({ user, token }));
+ });
}
};