X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/ad73e81695d3501253f64acd5a63e83deb45c279..HEAD:/src/store/processes/processes-actions.ts diff --git a/src/store/processes/processes-actions.ts b/src/store/processes/processes-actions.ts index 1b9d725e..eadb05e5 100644 --- a/src/store/processes/processes-actions.ts +++ b/src/store/processes/processes-actions.ts @@ -316,7 +316,7 @@ export const removeProcessPermanently = (uuid: string) => async (dispatch: Dispa const resource = getState().dialog.removeProcessDialog.data.resource; const checkedList = getState().multiselect.checkedList; - const uuidsToRemove: string[] = resource.isSingle ? [resource.uuid] : selectedToArray(checkedList); + const uuidsToRemove: string[] = resource.fromContextMenu ? [resource.uuid] : selectedToArray(checkedList); //if no items in checkedlist, default to normal context menu behavior if (!uuidsToRemove.length) uuidsToRemove.push(uuid);