15768: removed vestigial imports Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox...
[arvados-workbench2.git] / src / store / processes / processes-actions.ts
index 1cf5f49a76b853a00ea7efaf428300a159e41db6..1b9d725ef0c49a08b6a76fa30b558fd12bd316c9 100644 (file)
@@ -328,7 +328,7 @@ export const removeProcessPermanently = (uuid: string) => async (dispatch: Dispa
     for (const process of processesToRemove) {
         try {
             dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Removing ...", kind: SnackbarKind.INFO }));
-            await services.containerRequestService.delete(uuid, false);
+            await services.containerRequestService.delete(process.uuid, false);
             dispatch(projectPanelActions.REQUEST_ITEMS());
             dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Removed.", hideDuration: 2000, kind: SnackbarKind.SUCCESS }));
         } catch (e) {