mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-07-04 11:33:52 -05:00
Fixed an issue where sorting the database activity table on the dashboard by any column caused the details to expand in the wrong position. #7554
This commit is contained in:
parent
62a61b403e
commit
391db5131d
|
@ -170,7 +170,7 @@ export function Table({ columns, data, hasSelectRow, schema, sortOptions, tableP
|
|||
<PgReactTableBody style={{ height: virtualizer.getTotalSize() + 'px'}}>
|
||||
{virtualizer.getVirtualItems().map((virtualRow) => {
|
||||
const row = rows[virtualRow.index];
|
||||
return <TableRow index={row.index} key={row.index} row={row} schema={schema}
|
||||
return <TableRow index={virtualRow.index} key={virtualRow.index} row={row} schema={schema}
|
||||
measureElement={virtualizer.measureElement}
|
||||
style={{
|
||||
transform: `translateY(${virtualRow.start}px)`, //this should always be a `style` as it changes on scroll
|
||||
|
|
Loading…
Reference in New Issue
Block a user