fix: make hasOwnProperty check safe
This commit is contained in:
parent
00686dcb3b
commit
3cecc95ecf
|
@ -144,7 +144,7 @@ export default function BpmnReplace(
|
|||
}
|
||||
|
||||
// so the applied properties from 'target' don't get lost
|
||||
if (newBusinessObject.hasOwnProperty(propertyName)) {
|
||||
if (has(newBusinessObject, propertyName)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue