From 2c2b5e935152a258e2f7b01a15d3fda78c349c88 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Thu, 23 Jan 2020 17:30:04 -0300 Subject: [PATCH] 15012: Updates all processes page when websocket event received. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- src/websocket/websocket.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/websocket/websocket.ts b/src/websocket/websocket.ts index 7895644f..506b92c8 100644 --- a/src/websocket/websocket.ts +++ b/src/websocket/websocket.ts @@ -14,6 +14,7 @@ import { addProcessLogsPanelItem } from '../store/process-logs-panel/process-log import { subprocessPanelActions } from "~/store/subprocess-panel/subprocess-panel-actions"; import { projectPanelActions } from "~/store/project-panel/project-panel-action"; import { getProjectPanelCurrentUuid } from '~/store/project-panel/project-panel-action'; +import { allProcessesPanelActions } from '~/store/all-processes-panel/all-processes-panel-action'; export const initWebSocket = (config: Config, authService: AuthService, store: RootStore) => { if (config.websocketUrl) { @@ -35,6 +36,7 @@ const messageListener = (store: RootStore) => (message: ResourceEventMessage) => // fall through, this will happen for container requests as well. case ResourceKind.CONTAINER: store.dispatch(subprocessPanelActions.REQUEST_ITEMS()); + store.dispatch(allProcessesPanelActions.REQUEST_ITEMS()); if (message.objectOwnerUuid === getProjectPanelCurrentUuid(store.getState())) { store.dispatch(projectPanelActions.REQUEST_ITEMS()); } -- 2.30.2