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 43e20183c fix(config-ui): refdiff task name error (#5034)
43e20183c is described below
commit 43e20183c15ddf6b4488cfdc2987675a613710a5
Author: 青湛 <[email protected]>
AuthorDate: Wed Apr 26 10:13:28 2023 +0800
fix(config-ui): refdiff task name error (#5034)
---
config-ui/src/pages/pipeline/components/task/index.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/config-ui/src/pages/pipeline/components/task/index.tsx
b/config-ui/src/pages/pipeline/components/task/index.tsx
index 47b9fc5e4..d155ed1bd 100644
--- a/config-ui/src/pages/pipeline/components/task/index.tsx
+++ b/config-ui/src/pages/pipeline/components/task/index.tsx
@@ -50,7 +50,7 @@ export const PipelineTask = ({ task }: Props) => {
case ['gitextractor'].includes(config.plugin):
name = `${name}:${options.repoId}`;
break;
- case ['dora', 'refdiff'].includes(config.plugin):
+ case ['dora'].includes(config.plugin):
name = `${name}:${options.projectName}`;
break;
case ['gitlab'].includes(config.plugin):
@@ -75,6 +75,9 @@ export const PipelineTask = ({ task }: Props) => {
name = `${name}:product/${options.productId}`;
}
break;
+ case ['refdiff'].includes(config.plugin):
+ name = `${name}:${options.repoId ?? options.projectName}`;
+ break;
}
return [config.icon, name];