Skip to content

Commit

Permalink
remove bulk actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ousmaneo committed Dec 1, 2023
1 parent 1a2db03 commit c20249e
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import useTableEventHandlers from 'hooks/useTableEventHandlers';
import { Link } from 'components/common/router';
import Routes from 'routing/Routes';

import DataNodeBulkActions from './DataNodeBulkActions';
import DataNodeActions from './DataNodeActions';
import DataNodeStatusCell from './DataNodeStatusCell';

Expand Down Expand Up @@ -71,11 +70,6 @@ const columnRenderers: ColumnRenderers<DataNode> = {
},
};

const bulkActions = (selectedDataNodeIds: string[], setSelectedDataNodeIds: (ids: string[]) => void) => (
<DataNodeBulkActions selectedDataNodeIds={selectedDataNodeIds}
setSelectedDataNodeIds={setSelectedDataNodeIds} />
);

const entityActions = (dataNode: DataNode) => (
<DataNodeActions dataNode={dataNode} />
);
Expand Down Expand Up @@ -142,9 +136,7 @@ const DataNodeList = () => {
onSortChange={onSortChange}
onPageSizeChange={onPageSizeChange}
pageSize={layoutConfig.pageSize}
bulkSelection={{
actions: bulkActions,
}}
bulkSelection={{}}
activeSort={layoutConfig.sort}
rowActions={entityActions}
actionsCellWidth={160}
Expand Down

0 comments on commit c20249e

Please sign in to comment.