mirror of
https://github.com/certd/certd.git
synced 2026-04-28 07:57:25 +08:00
perf: 创建流水线时,默认成功时也发送通知
This commit is contained in:
@@ -122,7 +122,7 @@ export default function ({ crudExpose, context: { certdFormRef, groupDictRef, se
|
|||||||
if (form.notification != null) {
|
if (form.notification != null) {
|
||||||
notifications.push({
|
notifications.push({
|
||||||
type: "custom",
|
type: "custom",
|
||||||
when: ["error", "turnToSuccess"],
|
when: ["error", "turnToSuccess", "success"],
|
||||||
notificationId: form.notification,
|
notificationId: form.notification,
|
||||||
title: form.notificationTarget?.name || "自定义通知"
|
title: form.notificationTarget?.name || "自定义通知"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user