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
|
// can only replace to compensation activities
|
||||||
entries = filter(entries, function(entry) {
|
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
|
// then
|
||||||
expect(callActivityEntry).to.not.exist;
|
expect(callActivityEntry).to.not.exist;
|
||||||
expect(subProcessEntry).to.not.exist;
|
expect(subProcessEntry).to.exist;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue