15407: Removes snackbar notification when websocket is disabled.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Tue, 20 Aug 2019 19:08:17 +0000 (16:08 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Tue, 20 Aug 2019 19:08:17 +0000 (16:08 -0300)
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

index e7ea3016c9a50038d4dcb8a5d3e832d93a02daf7..8161f1935cd33b08d06cf75bd7324e8230f4b3c0 100644 (file)
@@ -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.");
     }
 };