This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch release-v0.20
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/release-v0.20 by this push:
new 8c9b85238 fix(config-ui): use fullname to replace name in data scope
search (#6605)
8c9b85238 is described below
commit 8c9b85238c1eaea1c126da235865edc18b5bc000
Author: 青湛 <[email protected]>
AuthorDate: Fri Dec 8 15:14:54 2023 +0800
fix(config-ui): use fullname to replace name in data scope search (#6605)
---
config-ui/src/plugins/components/data-scope-select/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config-ui/src/plugins/components/data-scope-select/index.tsx
b/config-ui/src/plugins/components/data-scope-select/index.tsx
index 457cac229..3aab7cf95 100644
--- a/config-ui/src/plugins/components/data-scope-select/index.tsx
+++ b/config-ui/src/plugins/components/data-scope-select/index.tsx
@@ -138,7 +138,7 @@ export const DataScopeSelect = ({
<MultiSelector
loading={!ready}
items={searchItems}
- getName={(it) => it.name}
+ getName={(it) => it.fullName ?? it.name}
getKey={(it) => getPluginScopeId(plugin, it)}
noResult="No Data Scopes Available."
onQueryChange={(query) => setQuery(query)}