From 5376d8706831125b6f8f443d202041123c7ccefc Mon Sep 17 00:00:00 2001 From: Valentin Serra Date: Thu, 12 Sep 2024 12:36:23 +0200 Subject: [PATCH] Update src/provider/zeebe/properties/PriorityDefinitionProps.js Co-authored-by: Nico Rehwaldt --- src/provider/zeebe/properties/PriorityDefinitionProps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/provider/zeebe/properties/PriorityDefinitionProps.js b/src/provider/zeebe/properties/PriorityDefinitionProps.js index 48f294b0..f6f2f4db 100644 --- a/src/provider/zeebe/properties/PriorityDefinitionProps.js +++ b/src/provider/zeebe/properties/PriorityDefinitionProps.js @@ -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]; } \ No newline at end of file