fix(draw): properly render data-object collection marker

Closes #672
This commit is contained in:
Nico Rehwaldt 2017-03-21 07:48:57 +01:00
parent c853e88e54
commit 3de5478d04
1 changed files with 3 additions and 2 deletions

View File

@ -1827,8 +1827,9 @@ function isThrowEvent(event) {
}
function isCollection(element) {
return element.isCollection ||
(element.elementObjectRef && element.elementObjectRef.isCollection);
var dataObject = element.dataObjectRef;
return element.isCollection || (dataObject && dataObject.isCollection);
}
function getDi(element) {