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

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 4813dda39 [Bug] Fix the bug that latest team isn't changed when team 
is changed (#1834)
4813dda39 is described below

commit 4813dda39747eaaf92eaa76aeeb38107a21ba507
Author: fanrui <[email protected]>
AuthorDate: Thu Oct 13 23:52:16 2022 +0800

    [Bug] Fix the bug that latest team isn't changed when team is changed 
(#1834)
---
 streampark-console/streampark-console-webapp/src/utils/request.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/streampark-console/streampark-console-webapp/src/utils/request.js 
b/streampark-console/streampark-console-webapp/src/utils/request.js
index 7e8f5d3fe..e9db9c185 100644
--- a/streampark-console/streampark-console-webapp/src/utils/request.js
+++ b/streampark-console/streampark-console-webapp/src/utils/request.js
@@ -78,7 +78,7 @@ http.interceptors.request.use(config => {
       }
     }
     const teamId = sessionStorage.getItem(TEAM_ID)
-    if (teamId) {
+    if (data['teamId'] == null && teamId) {
       data['teamId'] = teamId
     }
     if (config.method === 'get') {

Reply via email to