This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch fix-clear-bugs in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit f691fb1f4571ee997a8fbfde174e33ca3cbd6fae Author: mintsweet <[email protected]> AuthorDate: Wed Oct 11 18:38:30 2023 +1300 fix(config-ui): the row key is error --- config-ui/src/pages/connection/detail/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-ui/src/pages/connection/detail/index.tsx b/config-ui/src/pages/connection/detail/index.tsx index 21375994f..c813686e5 100644 --- a/config-ui/src/pages/connection/detail/index.tsx +++ b/config-ui/src/pages/connection/detail/index.tsx @@ -367,7 +367,7 @@ const ConnectionDetail = ({ plugin, connectionId }: Props) => { onCreate: handleShowCreateDataScopeDialog, }} rowSelection={{ - getRowKey: (row) => getPluginScopeId(plugin, row), + getRowKey: (row) => row.id, selectedRowKeys: scopeIds, onChange: (selectedRowKeys) => setScopeIds(selectedRowKeys), }}
