style(rules): remove unneeded unwrapping
This commit is contained in:
parent
19491aa3fd
commit
9240971ce7
|
@ -217,9 +217,7 @@ function canStartConnection(element) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var businessObject = element.businessObject;
|
return isAny(element, [
|
||||||
|
|
||||||
return isAny(businessObject, [
|
|
||||||
'bpmn:FlowNode',
|
'bpmn:FlowNode',
|
||||||
'bpmn:InteractionNode',
|
'bpmn:InteractionNode',
|
||||||
'bpmn:DataObjectReference',
|
'bpmn:DataObjectReference',
|
||||||
|
|
Loading…
Reference in New Issue