Skip to content

Commit

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

0 comments on commit 5a5eec2

Please sign in to comment.