From e26fdc06a54e8b4fb7c22f78d335d02d2d7c3ea5 Mon Sep 17 00:00:00 2001 From: Lisa Knox Date: Fri, 8 Sep 2023 14:48:10 -0400 Subject: [PATCH] 15768: cleanup Arvados-DCO-1.1-Signed-off-by: Lisa Knox --- src/components/data-table/data-table.tsx | 1 - src/store/processes/processes-actions.ts | 2 +- src/store/workbench/workbench-actions.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/data-table/data-table.tsx b/src/components/data-table/data-table.tsx index 960b3c64..a07a178e 100644 --- a/src/components/data-table/data-table.tsx +++ b/src/components/data-table/data-table.tsx @@ -298,7 +298,6 @@ export const DataTable = withStyles(styles)( const { name, key, renderHeader, filters, sort } = column; const { onSortToggle, onFiltersChange, classes, checkedList } = this.props; const { isSelected } = this.state; - // const { isSelected, checkedList } = this.state; return column.name === "checkBoxColumn" ? ( async (dispatch: Dispa const uuidsToRemove: string[] = resource.isSingle ? [resource.uuid] : selectedToArray(checkedList); - //if no items in checkedlist && no items passed in, default to normal context menu behavior + //if no items in checkedlist, default to normal context menu behavior if (!uuidsToRemove.length) uuidsToRemove.push(uuid); const processesToRemove = uuidsToRemove diff --git a/src/store/workbench/workbench-actions.ts b/src/store/workbench/workbench-actions.ts index 1446e5d8..3d580915 100644 --- a/src/store/workbench/workbench-actions.ts +++ b/src/store/workbench/workbench-actions.ts @@ -332,7 +332,6 @@ export const moveProject = kind: SnackbarKind.ERROR, }) ); - // } } } if (sourceUuid) await dispatch(loadSidePanelTreeProjects(sourceUuid)); -- 2.39.5