fix: delete and bulk delete accounts.

fix: activate and inactivate accounts.
This commit is contained in:
Ahmed Bouhuolia
2020-12-03 12:20:44 +02:00
parent 353cc2aece
commit 0359003d3a
7 changed files with 85 additions and 54 deletions

View File

@@ -63,6 +63,7 @@ export default function DataTable({
expandColumnSpace = 1.5,
updateDebounceTime = 200,
selectionColumnWidth = 42,
// Read this document to know why! https://bit.ly/2Uw9SEc
autoResetPage = true,
@@ -134,9 +135,9 @@ export default function DataTable({
{
id: 'selection',
disableResizing: true,
minWidth: 42,
width: 42,
maxWidth: 42,
minWidth: selectionColumnWidth,
width: selectionColumnWidth,
maxWidth: selectionColumnWidth,
// The header can use the table's getToggleAllRowsSelectedProps method
// to render a checkbox
Header: ({ getToggleAllRowsSelectedProps }) => (