From 79d59f2396e2a2868388c5b566d10c4b45a3d759 Mon Sep 17 00:00:00 2001
From: Lucas Di Pentima <lucas@di-pentima.com.ar>
Date: Tue, 20 Aug 2019 16:08:17 -0300
Subject: [PATCH] 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 <ldipentima@veritasgenetics.com>
---
 src/websocket/websocket.ts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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.");
     }
 };
 
-- 
2.30.2