You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by li...@apache.org on 2022/09/30 04:16:46 UTC

[incubator-devlake] branch main updated: fix(config-ui): webhook id is the interface return value (#3288)

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

likyh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 74d98083 fix(config-ui): webhook id is the interface return value (#3288)
74d98083 is described below

commit 74d98083816be52463d1bbd2ea342710bbce5c8b
Author: 青湛 <0x...@gmail.com>
AuthorDate: Fri Sep 30 12:16:42 2022 +0800

    fix(config-ui): webhook id is the interface return value (#3288)
---
 config-ui/src/pages/connections/incoming-webhook/index.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config-ui/src/pages/connections/incoming-webhook/index.jsx b/config-ui/src/pages/connections/incoming-webhook/index.jsx
index bbbe59c9..1d399dec 100644
--- a/config-ui/src/pages/connections/incoming-webhook/index.jsx
+++ b/config-ui/src/pages/connections/incoming-webhook/index.jsx
@@ -129,9 +129,9 @@ export const IncomingWebhook = () => {
                 {loading ? (
                   <div>Loading</div>
                 ) : (
-                  data.map((it, i) => (
+                  data.map((it) => (
                     <S.Grid key={it.id}>
-                      <li>{i + 1}</li>
+                      <li>{it.id}</li>
                       <li>{it.name}</li>
                       <li>
                         <Button