This is an automated email from the ASF dual-hosted git repository.

mintsweet pushed a commit to branch fix-missed-full-name
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit b9359e03da412e8706f7456ac2bd49ea1c786faa
Author: mintsweet <[email protected]>
AuthorDate: Thu Oct 12 16:08:36 2023 +1300

    fix(config-ui): missed full name in some plugins
---
 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>

Reply via email to