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

klesh 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 5bb3681bd fix(config-ui): adjust interface return value (#5638)
5bb3681bd is described below

commit 5bb3681bd7efc7c994f54e88bf0ef5b1368b4038
Author: 青湛 <[email protected]>
AuthorDate: Thu Jul 6 14:15:02 2023 +1200

    fix(config-ui): adjust interface return value (#5638)
---
 config-ui/src/plugins/utils.ts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/config-ui/src/plugins/utils.ts b/config-ui/src/plugins/utils.ts
index d851f41f0..69ca37ae8 100644
--- a/config-ui/src/plugins/utils.ts
+++ b/config-ui/src/plugins/utils.ts
@@ -35,8 +35,6 @@ export const getPluginScopeId = (plugin: string, scope: any) 
=> {
       return `${scope.bitbucketId}`;
     case 'sonarqube':
       return `${scope.projectKey}`;
-    case 'zentao':
-      return scope.type === 'project' ? `projects/${scope.id}` : 
`products/${scope.id}`;
     default:
       return `${scope.id}`;
   }

Reply via email to