apparently didn't finish search and replace when creating the escalation panels
This commit is contained in:
parent
c8040aab59
commit
afb071d010
|
@ -12,8 +12,8 @@ const LOW_PRIORITY = 500;
|
||||||
const eventDetails = {
|
const eventDetails = {
|
||||||
'eventType': 'bpmn:Escalation',
|
'eventType': 'bpmn:Escalation',
|
||||||
'eventDefType': 'bpmn:EscalationEventDefinition',
|
'eventDefType': 'bpmn:EscalationEventDefinition',
|
||||||
'referenceType': 'errorRef',
|
'referenceType': 'escalationRef',
|
||||||
'idPrefix': 'error',
|
'idPrefix': 'escalation',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function EscalationPropertiesProvider(
|
export default function EscalationPropertiesProvider(
|
||||||
|
@ -26,14 +26,14 @@ export default function EscalationPropertiesProvider(
|
||||||
this.getGroups = function (element) {
|
this.getGroups = function (element) {
|
||||||
return function (groups) {
|
return function (groups) {
|
||||||
if (is(element, 'bpmn:Process') || is(element, 'bpmn:Collaboration')) {
|
if (is(element, 'bpmn:Process') || is(element, 'bpmn:Collaboration')) {
|
||||||
const getEscalationArray = getArrayForType('bpmn:Escalation', 'errorRef', 'Escalation');
|
const getEscalationArray = getArrayForType('bpmn:Escalation', 'escalationRef', 'Escalation');
|
||||||
const errorGroup = getListGroupForType('escalations', 'Escalations', getEscalationArray);
|
const escalationGroup = getListGroupForType('escalations', 'Escalations', getEscalationArray);
|
||||||
groups.push(errorGroup({ element, translate, moddle, commandStack }));
|
groups.push(escalationGroup({ element, translate, moddle, commandStack }));
|
||||||
} else if (hasEventType(element, 'bpmn:EscalationEventDefinition')) {
|
} else if (hasEventType(element, 'bpmn:EscalationEventDefinition')) {
|
||||||
const getEscalationSelector = getSelectorForType(eventDetails);
|
const getEscalationSelector = getSelectorForType(eventDetails);
|
||||||
const errorGroup = getConfigureGroupForType(eventDetails, 'Escalation', true, getEscalationSelector);
|
const escalationGroup = getConfigureGroupForType(eventDetails, 'Escalation', true, getEscalationSelector);
|
||||||
const group = errorGroup({ element, translate, moddle, commandStack });
|
const group = escalationGroup({ element, translate, moddle, commandStack });
|
||||||
replaceGroup('error', groups, group);
|
replaceGroup('escalation', groups, group);
|
||||||
}
|
}
|
||||||
return groups;
|
return groups;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue