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 34adfd433a531762b66c67068dbdd80474a61be1
Author: mintsweet <[email protected]>
AuthorDate: Wed Oct 11 18:49:50 2023 +1300

    fix(config-ui): the fullname missed in pagerduty
---
 config-ui/src/plugins/components/data-scope-remote/search-remote.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx 
b/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx
index 60f6255e5..a8ea560f4 100644
--- a/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx
+++ b/config-ui/src/plugins/components/data-scope-remote/search-remote.tsx
@@ -131,7 +131,7 @@ export const SearchRemote = ({ plugin, connectionId, 
config, disabledScope, sele
           disabled
           items={selectedScope}
           getKey={(it) => it.id}
-          getName={(it) => it.fullName}
+          getName={(it) => it.fullName ?? it.name}
           selectedItems={selectedScope}
         />
       </FormItem>

Reply via email to