fix: condition of event participants (#26300)
This commit is contained in:
parent
803f7b3990
commit
c353aae012
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ frappe.ui.form.on("Event", {
|
|||
|
||||
frappe.ui.form.on("Event Participants", {
|
||||
event_participants_remove: function (frm, cdt, cdn) {
|
||||
if (cdt && !cdn.includes("New Event Participants")) {
|
||||
if (cdt && !cdn.includes("new-event-participants")) {
|
||||
frappe.call({
|
||||
type: "POST",
|
||||
method: "frappe.desk.doctype.event.event.delete_communication",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue