Skip to content

Commit

Permalink
table bug fix (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajinkya Deshmukh authored Apr 21, 2022
1 parent ab03f15 commit 0576f27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/javascript/src/common/Table/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ const Table = ({
))}
</thead>
<tbody {...getTableBodyProps()}>
{rows.slice(0, 10).map((row, index) => {
{/* {rows.slice(0, 10).map((row, index) => { // this will be used when we add the pagination. */}
{rows.map((row, index) => {
prepareRow(row);
const cssClassLastRow = rows.length - 1 !== index ? "border-b": "";
const cssClassRowHover = hasRowIcons ? "hoverIcon" : "";
Expand Down

0 comments on commit 0576f27

Please sign in to comment.