From: Peter Amstutz Date: Mon, 5 Oct 2020 21:43:13 +0000 (-0400) Subject: Merge branch '16941-inactive-remotes' refs #16941 X-Git-Tag: 2.1.0~2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/9c7918c98200f68bcce5f9e63a211986a50a2159 Merge branch '16941-inactive-remotes' refs #16941 Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- 9c7918c98200f68bcce5f9e63a211986a50a2159 diff --cc src/store/auth/auth-action-session.ts index 8fc17810,10f17c02..ed2e18b2 --- a/src/store/auth/auth-action-session.ts +++ b/src/store/auth/auth-action-session.ts @@@ -186,13 -189,12 +189,13 @@@ export const validateSessions = (useApi override it using Dispatch. This pattern is used in a bunch of different places in Workbench2. */ - await dispatch(validateSession(session, activeSession)); + await dispatch(validateSession(session, activeSession, useApiClient)); } 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. } } }