Browse Source
Merge pull request #212 from comit-network/row-expand-change
upload-correct-windows-binary
Philipp Hoenisch
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
4 deletions
-
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
|
|
|
|