From: Lucas Di Pentima Date: Tue, 20 Aug 2019 19:08:17 +0000 (-0300) Subject: 15407: Removes snackbar notification when websocket is disabled. X-Git-Tag: 2.0.0~40^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/79d59f2396e2a2868388c5b566d10c4b45a3d759 15407: Removes snackbar notification when websocket is disabled. This will be implemented as a notification on the "bell" notifications menu. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/src/websocket/websocket.ts b/src/websocket/websocket.ts index e7ea3016..8161f193 100644 --- a/src/websocket/websocket.ts +++ b/src/websocket/websocket.ts @@ -21,8 +21,7 @@ export const initWebSocket = (config: Config, authService: AuthService, store: R webSocketService.setMessageListener(messageListener(store)); webSocketService.connect(); } else { - console.warn("WARNING: Websocket ExternalURL is not set on the API Server"); - store.dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Websocket URL missing on cluster config", kind: SnackbarKind.WARNING })); + console.warn("WARNING: Websocket ExternalURL is not set on the cluster config."); } };