Skip to content

Commit 6b3de85

Browse files
committed
Fixing not showing all devices
1 parent 080b774 commit 6b3de85

File tree

1 file changed

+17
-23
lines changed
  • web_app/Source_webapp/src/views/devices/DeviceList/components

1 file changed

+17
-23
lines changed

web_app/Source_webapp/src/views/devices/DeviceList/components/DeviceTable.tsx

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -622,29 +622,23 @@ const DeviceTable = memo(
622622
))}
623623
</THead>
624624
<TBody>
625-
{table
626-
.getRowModel()
627-
.rows.slice(0, 10)
628-
.map((row) => {
629-
return (
630-
<Tr key={row.id}>
631-
{row
632-
.getVisibleCells()
633-
.map((cell) => {
634-
return (
635-
<Td key={cell.id}>
636-
{flexRender(
637-
cell.column
638-
.columnDef
639-
.cell,
640-
cell.getContext()
641-
)}
642-
</Td>
643-
)
644-
})}
645-
</Tr>
646-
)
647-
})}
625+
{table.getRowModel().rows.map((row) => {
626+
return (
627+
<Tr key={row.id}>
628+
{row.getVisibleCells().map((cell) => {
629+
return (
630+
<Td key={cell.id}>
631+
{flexRender(
632+
cell.column.columnDef
633+
.cell,
634+
cell.getContext()
635+
)}
636+
</Td>
637+
)
638+
})}
639+
</Tr>
640+
)
641+
})}
648642
</TBody>
649643
</Table>
650644
)) || (

0 commit comments

Comments
 (0)