Fix receive message
This commit is contained in:
parent
8e6ac01e26
commit
4e213bb762
|
@ -11,7 +11,8 @@ import {
|
|||
findCorrelationPropertiesByMessage,
|
||||
isMessageEvent,
|
||||
isMessageElement,
|
||||
createNewCorrelationProperty
|
||||
createNewCorrelationProperty,
|
||||
getMessageRefElement
|
||||
} from '../MessageHelpers';
|
||||
import { removeFirstInstanceOfItemFromArrayInPlace } from '../../helpers';
|
||||
|
||||
|
@ -61,8 +62,7 @@ export function CorrelationPropertiesList(props) {
|
|||
|
||||
event.stopPropagation();
|
||||
|
||||
const { businessObject } = element;
|
||||
const messageRef = (businessObject) ? businessObject.messageRef : null;
|
||||
const messageRef = getMessageRefElement(element);
|
||||
|
||||
if(!messageRef){
|
||||
alert('Please select a message');
|
||||
|
|
Loading…
Reference in New Issue