Skip to content

Commit 6614a88

Browse files
committed
fix duplicated jobs ui
1 parent 1a8ab84 commit 6614a88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/renderer/components/services/job-util.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ webModule.factory(JOB_UTIL_FACTORY_NAME, [
2323
return "danger";
2424
case "finished":
2525
return "success";
26+
case "duplicated":
2627
case "stopped":
2728
return "warning";
2829
default:
@@ -37,6 +38,7 @@ webModule.factory(JOB_UTIL_FACTORY_NAME, [
3738
return isUp
3839
? T("status.running.uploading")
3940
: T("status.running.downloading"); //'正在上传':'正在下载';
41+
case "duplicated":
4042
case "failed":
4143
return T("status.failed"); //'失败';
4244
case "finished":

0 commit comments

Comments
 (0)