mirror of https://github.com/certd/certd
perf: 创建流水线时,默认成功时也发送通知
parent
c30adb2671
commit
52ae6902d2
|
@ -122,7 +122,7 @@ export default function ({ crudExpose, context: { certdFormRef, groupDictRef, se
|
|||
if (form.notification != null) {
|
||||
notifications.push({
|
||||
type: "custom",
|
||||
when: ["error", "turnToSuccess"],
|
||||
when: ["error", "turnToSuccess", "success"],
|
||||
notificationId: form.notification,
|
||||
title: form.notificationTarget?.name || "自定义通知"
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue