projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56ac71
)
16947: do not produce snackbar errors in validateSessions()
16947-session-validate
author
Peter Amstutz <peter.amstutz@curii.com>
Mon, 5 Oct 2020 20:56:59 +0000
(16:56 -0400)
committer
Peter Amstutz <peter.amstutz@curii.com>
Mon, 5 Oct 2020 20:56:59 +0000
(16:56 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
src/store/auth/auth-action-session.ts
patch
|
blob
|
history
diff --git
a/src/store/auth/auth-action-session.ts
b/src/store/auth/auth-action-session.ts
index 0f85e9ac5005fe5de7274d2dbe5d8526a9cfa81d..8fc178101f2fc7d4885cfb281748cc102e763385 100644
(file)
--- a/
src/store/auth/auth-action-session.ts
+++ b/
src/store/auth/auth-action-session.ts
@@
-188,10
+188,11
@@
export const validateSessions = () =>
places in Workbench2. */
await dispatch(validateSession(session, activeSession));
} catch (e) {
- dispatch(snackbarActions.OPEN_SNACKBAR({
- message: e.message,
- kind: SnackbarKind.ERROR
- }));
+ // Don't do anything here. User may get
+ // spammed with multiple messages that are not
+ // helpful. They can see the individual
+ // errors by going to site manager and trying
+ // to toggle the session.
}
}
}