Skip to content

Commit

Permalink
Update src/provider/zeebe/properties/PriorityDefinitionProps.js
Browse files Browse the repository at this point in the history
Co-authored-by: Nico Rehwaldt <nico.rehwaldt@camunda.com>
  • Loading branch information
Skaiir and nikku authored Sep 12, 2024
1 parent 1eb1348 commit 5376d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider/zeebe/properties/PriorityDefinitionProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,5 @@ export function getPriorityDefinition(element) {
function isZeebeUserTask(element) {
const businessObject = getBusinessObject(element);

return !!getExtensionElementsList(businessObject, 'zeebe:UserTask')[0];
return is(element, 'bpmn:UserTask') && !!getExtensionElementsList(businessObject, 'zeebe:UserTask')[0];
}

0 comments on commit 5376d87

Please sign in to comment.