This is an automated email from the ASF dual-hosted git repository. mintsweet pushed a commit to branch release-v0.20-fix-6536 in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 5c3e34dc963aa4ee83d69746facf59a6fcc96a97 Author: mintsweet <[email protected]> AuthorDate: Fri Dec 8 15:13:58 2023 +0800 fix(config-ui): use fullname to replace name in data scope search --- 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)}
