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 6243a0577 [INLONG-7063][Dashboard] Optimize the topic name of the new 
consumption page (#7084)
6243a0577 is described below

commit 6243a0577e16c46a4207382d0fcc1e46f86819a4
Author: Lizhen <[email protected]>
AuthorDate: Thu Dec 29 14:44:43 2022 +0800

    [INLONG-7063][Dashboard] Optimize the topic name of the new consumption 
page (#7084)
---
 .../src/metas/consumes/common/ConsumeDefaultInfo.ts            | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/inlong-dashboard/src/metas/consumes/common/ConsumeDefaultInfo.ts 
b/inlong-dashboard/src/metas/consumes/common/ConsumeDefaultInfo.ts
index b57efd1e8..a49c86d34 100644
--- a/inlong-dashboard/src/metas/consumes/common/ConsumeDefaultInfo.ts
+++ b/inlong-dashboard/src/metas/consumes/common/ConsumeDefaultInfo.ts
@@ -126,14 +126,14 @@ export class ConsumeDefaultInfo implements 
DataWithBackend, RenderRow, RenderLis
             result.mqType === 'TUBEMQ'
               ? [
                   {
-                    label: result.mqResource,
-                    value: result.mqResource,
+                    label: result,
+                    value: result,
                   },
                 ]
-              : result.streamTopics?.map(item => ({
+              : result.topics?.map(item => ({
                   ...item,
-                  label: item.mqResource,
-                  value: item.mqResource,
+                  label: item,
+                  value: item,
                 })) || [],
         },
       },

Reply via email to