Browse Source

Merge pull request #212 from comit-network/row-expand-change

upload-correct-windows-binary
Philipp Hoenisch 3 years ago
committed by GitHub
parent
commit
e8e7fa7a75
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      frontend/src/components/cfdtables/CfdTable.tsx

5
frontend/src/components/cfdtables/CfdTable.tsx

@ -65,7 +65,7 @@ export function CfdTable(
id: "expander",
Header: () => null,
Cell: ({ row }: any) => (
<span {...row.getToggleRowExpandedProps()}>
<span>
{row.isExpanded
? <IconButton
aria-label="Reduce"
@ -327,9 +327,6 @@ export function Table({ columns, tableData, hiddenColumns, renderDetails }: Tabl
<React.Fragment key={row.id}>
<Tr
{...row.getRowProps()}
onClick={() =>
// @ts-ignore
row.toggleRowExpanded()}
>
{row.cells.map((cell) => (
// @ts-ignore

Loading…
Cancel
Save