diff --git a/frontend/src/components/common/Table/Table.tsx b/frontend/src/components/common/Table/Table.tsx index 5c4c07042b..f5320e6e2d 100644 --- a/frontend/src/components/common/Table/Table.tsx +++ b/frontend/src/components/common/Table/Table.tsx @@ -237,7 +237,7 @@ export default function Table>({ positionActionsColumn: 'last', renderToolbarInternalActions: table => { const isSomeRowsSelected = - tableProps.enableRowSelection && table.table.getIsSomeRowsSelected(); + tableProps.enableRowSelection && table.table.getSelectedRowModel().rows.length !== 0; if (isSomeRowsSelected) { const renderRowSelectionToolbar = tableProps.renderRowSelectionToolbar; if (renderRowSelectionToolbar !== undefined) {