chore(copy-paste): ensure pasted group has new category value
Relates to camunda/camunda-modeler#1417
This commit is contained in:
parent
b7d6d62184
commit
e31c4d13ed
|
@ -101,10 +101,6 @@ export default function BpmnCopyPaste(
|
|||
descriptor.parent = rootElement;
|
||||
}
|
||||
|
||||
if (descriptor.type === 'bpmn:Group') {
|
||||
newBusinessObject.categoryValueRef = oldBusinessObject.categoryValueRef;
|
||||
}
|
||||
|
||||
if (is(parent, 'bpmn:Lane')) {
|
||||
descriptor.parent = parent.parent;
|
||||
}
|
||||
|
|
|
@ -421,7 +421,6 @@ describe('features/copy-paste', function() {
|
|||
|
||||
expect(group).to.exist;
|
||||
expect(categoryValue).to.exist;
|
||||
expect(categoryValue.id).to.equal('CategoryValue');
|
||||
})
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue