mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-17 03:16:32 +00:00
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…
x
Reference in New Issue
Block a user