ljmotta commented on code in PR #3557:
URL: 
https://github.com/apache/incubator-kie-tools/pull/3557#discussion_r3201159637


##########
packages/bpmn-editor-envelope/src/customTasks/MilestoneTask.tsx:
##########
@@ -85,14 +91,41 @@ export function getMilestoneTask(i18n: 
BpmnEditorEnvelopeI18n): CustomTask {
     displayDescription: "",
     iconSvgElement: MILESTONE_TASK_ICON,
     propertiesPanelComponent: MilestoneTaskProperties,
-    matches: (task) => task["@_drools:taskName"] === "Milestone",
-    produce: () => ({
-      __$$element: "task",
-      "@_id": generateUuid(),
-      "@_drools:taskName": "Milestone",
-      "@_name": i18n.milestone,
-    }),
-    dataInputReservedNames: [],

Review Comment:
   I believe you deleted the `dataInputReserverdNames: []` after moving the 
logic to `onAdded`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to