mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 17:44:12 +00:00
fix(replace): allow morph into compensation SubProcess, too
Closes #461
This commit is contained in:
parent
fd2230a8fa
commit
12bb7d3c55
@ -192,7 +192,7 @@ ReplaceMenuProvider.prototype.getEntries = function(element) {
|
||||
|
||||
// can only replace to compensation activities
|
||||
entries = filter(entries, function(entry) {
|
||||
return !/CallActivity|SubProcess/.test(entry.target.type);
|
||||
return !/CallActivity/.test(entry.target.type);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -990,7 +990,7 @@ describe('features/popup-menu - replace menu provider', function() {
|
||||
|
||||
// then
|
||||
expect(callActivityEntry).to.not.exist;
|
||||
expect(subProcessEntry).to.not.exist;
|
||||
expect(subProcessEntry).to.exist;
|
||||
}));
|
||||
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user