dmn-js-shared
Advanced tools
Comparing version 17.0.0 to 17.0.1
@@ -46,3 +46,3 @@ import CommandInterceptor from 'diagram-js/lib/command/CommandInterceptor'; | ||
return; | ||
} else if (!this.isElementVariable(element)) { | ||
} else if (!this.shouldSyncVariable(element)) { | ||
this.syncElementVariableChange(bo); | ||
@@ -58,5 +58,6 @@ } | ||
} | ||
isElementVariable(element) { | ||
const variable = element.get('variable'); | ||
return variable && element.name === variable.name; | ||
shouldSyncVariable(element) { | ||
const bo = getBusinessObject(element), | ||
variable = bo.get('variable'); | ||
return variable && bo.name === variable.name; | ||
} | ||
@@ -63,0 +64,0 @@ syncElementVariableChange(businessObject) { |
{ | ||
"name": "dmn-js-shared", | ||
"description": "Shared components used by dmn-js", | ||
"version": "17.0.0", | ||
"version": "17.0.1", | ||
"files": [ | ||
@@ -39,3 +39,3 @@ "assets", | ||
}, | ||
"gitHead": "d6ee809d11fcca1610a37b91f0ca0e41309453aa" | ||
"gitHead": "75c490cde5bca51253b8eefa9d5e24d0b679459d" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
268933
3157