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 2ec5b9cfb1 [INLONG-9747][Dashboard] Module audit ID query data display 
optimization (#9748)
2ec5b9cfb1 is described below

commit 2ec5b9cfb1ef50e0f533c0e6e9728a4cb3fee9e4
Author: Lizhen <[email protected]>
AuthorDate: Thu Feb 29 12:56:28 2024 +0800

    [INLONG-9747][Dashboard] Module audit ID query data display optimization 
(#9748)
---
 inlong-dashboard/src/ui/pages/ModuleAudit/IdModule/index.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/inlong-dashboard/src/ui/pages/ModuleAudit/IdModule/index.tsx 
b/inlong-dashboard/src/ui/pages/ModuleAudit/IdModule/index.tsx
index 7065252590..a4fd2513d7 100644
--- a/inlong-dashboard/src/ui/pages/ModuleAudit/IdModule/index.tsx
+++ b/inlong-dashboard/src/ui/pages/ModuleAudit/IdModule/index.tsx
@@ -62,11 +62,11 @@ const Comp: React.FC = () => {
       [],
     );
     const output = flatArr.reduce((acc, cur) => {
-      if (!acc[cur.inlongStreamId]) {
-        acc[cur.inlongStreamId] = {};
+      if (!acc[cur.ip]) {
+        acc[cur.ip] = {};
       }
-      acc[cur.inlongStreamId] = {
-        ...acc[cur.inlongStreamId],
+      acc[cur.ip] = {
+        ...acc[cur.ip],
         [cur.auditId]: cur.count,
         ip: cur.ip,
       };

Reply via email to