From: Lucas Di Pentima Date: Thu, 23 Jan 2020 19:03:47 +0000 (-0300) Subject: 15012: Clears the subprocess panel before populating it with new data. X-Git-Tag: 2.0.0~9^2~3 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/33d4ee917a1407611512195d288f445afe13b80f 15012: Clears the subprocess panel before populating it with new data. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/src/store/subprocess-panel/subprocess-panel-actions.ts b/src/store/subprocess-panel/subprocess-panel-actions.ts index 7e8d1e46..592e3d5d 100644 --- a/src/store/subprocess-panel/subprocess-panel-actions.ts +++ b/src/store/subprocess-panel/subprocess-panel-actions.ts @@ -12,5 +12,6 @@ export const subprocessPanelActions = bindDataExplorerActions(SUBPROCESS_PANEL_I export const loadSubprocessPanel = () => (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { + dispatch(subprocessPanelActions.CLEAR()); dispatch(subprocessPanelActions.REQUEST_ITEMS()); };