This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 846f1b320 fix(config-ui): missed full name in some plugins (#6225)
846f1b320 is described below
commit 846f1b32052de349fdff2c97bc09d099b7c27317
Author: 青湛 <[email protected]>
AuthorDate: Thu Oct 12 16:28:26 2023 +1300
fix(config-ui): missed full name in some plugins (#6225)
---
config-ui/src/plugins/components/data-scope-remote/search-local.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
b/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
index 51fbe241f..191b013d5 100644
--- a/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
+++ b/config-ui/src/plugins/components/data-scope-remote/search-local.tsx
@@ -177,7 +177,7 @@ export const SearchLocal = ({ plugin, connectionId, config,
disabledScope, selec
disabled
items={selectedScope}
getKey={(it) => it.id}
- getName={(it) => it.fullName}
+ getName={(it) => it.fullName ?? it.name}
selectedItems={selectedScope}
/>
</FormItem>