15012: Clears the subprocess panel before populating it with new data.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Thu, 23 Jan 2020 19:03:47 +0000 (16:03 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Thu, 23 Jan 2020 19:03:47 +0000 (16:03 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

src/store/subprocess-panel/subprocess-panel-actions.ts

index 7e8d1e469fc2657ffd712c66a500c5c086fb0e58..592e3d5d25a781a54535be951547dafe7204c2ad 100644 (file)
@@ -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());
     };