Skip to content

Commit

Permalink
Merge branch 'dev-4.3.2' into dev-4.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Dec 5, 2024
2 parents 88f1bb5 + b4820fc commit 2cc96fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/page/Workspace/components/SessionManagementPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,16 @@ function SessionManagementPage(props: IProps) {
) : null}
<div className={styles.table}>
<MiniTable
rowKey={'sessionId'}
rowKey={(row) => `${row.sessionId}-${row.svrIp}`}
bordered={true}
loading={listLoading}
columns={columns}
dataSource={filteredRows}
loadData={(page) => {}}
rowSelection={{
selectedRowKeys: selectedRows.map((r: IDatabaseSession) => r.sessionId),
selectedRowKeys: selectedRows.map(
(r: IDatabaseSession) => `${r.sessionId}-${r.svrIp}`,
),
onChange: (selectedRowKeys: string[], rows: IDatabaseSession[]) => {
setSelectedRows(rows);
},
Expand Down

0 comments on commit 2cc96fe

Please sign in to comment.