You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by e2...@apache.org on 2022/09/01 12:44:17 UTC

[incubator-devlake] branch main updated: fix: fix a rebase bug (#2916)

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

e2corporation 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 b40aee4c fix: fix a rebase bug (#2916)
b40aee4c is described below

commit b40aee4c3a1477acb1a1307c857b38dd2b1659ad
Author: likyh <l...@likyh.com>
AuthorDate: Thu Sep 1 20:44:12 2022 +0800

    fix: fix a rebase bug (#2916)
    
    Co-authored-by: linyh <ya...@meri.co>
---
 config-ui/src/hooks/useConnectionManager.jsx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/config-ui/src/hooks/useConnectionManager.jsx b/config-ui/src/hooks/useConnectionManager.jsx
index 37bb6271..c4200a5d 100644
--- a/config-ui/src/hooks/useConnectionManager.jsx
+++ b/config-ui/src/hooks/useConnectionManager.jsx
@@ -261,10 +261,8 @@ function useConnectionManager (
 
     let savePromise
     if (updateMode && activeConnection?.id !== null) {
-      modifyConfiguration(connectionPayload)
       savePromise = modifyConfiguration(connectionPayload)
     } else {
-      saveConfiguration(connectionPayload)
       savePromise = saveConfiguration(connectionPayload)
     }