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

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 93ac67904 [INLONG-7918][Dashboard] File source cluster name is 
displayed as displayName (#7920)
93ac67904 is described below

commit 93ac67904096ea2b52a84563c0e5ab23f4308bdc
Author: Lizhen <[email protected]>
AuthorDate: Tue Apr 25 20:52:48 2023 +0800

    [INLONG-7918][Dashboard] File source cluster name is displayed as 
displayName (#7920)
---
 inlong-dashboard/src/plugins/sources/defaults/File.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inlong-dashboard/src/plugins/sources/defaults/File.ts 
b/inlong-dashboard/src/plugins/sources/defaults/File.ts
index 575976289..25dc8f199 100644
--- a/inlong-dashboard/src/plugins/sources/defaults/File.ts
+++ b/inlong-dashboard/src/plugins/sources/defaults/File.ts
@@ -53,7 +53,7 @@ export default class PulsarSource
           formatResult: result =>
             result?.list?.map(item => ({
               ...item,
-              label: item.name,
+              label: item.displayName,
               value: item.name,
             })),
         },

Reply via email to