You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/04/25 12:52:54 UTC

[inlong] branch master updated: [INLONG-7918][Dashboard] File source cluster name is displayed as displayName (#7920)

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 <88...@users.noreply.github.com>
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,
             })),
         },