Skip to content

Commit

Permalink
refactor: changed the fix with bo.get('eventDefinitions')
Browse files Browse the repository at this point in the history
  • Loading branch information
dgkm committed Apr 30, 2024
1 parent 5c9afc3 commit 6892c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/log/Log.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function getIconForIntermediateEvent(element, throwOrCatch) {

function getEventTypeString(element) {
const bo = getBusinessObject(element);
if (bo.eventDefinitions === undefined || bo.eventDefinitions.length === 0) {
if (bo.get('eventDefinitions').length === 0) {
return 'none';
}
const eventDefinition = bo.eventDefinitions[0];
Expand Down

0 comments on commit 6892c06

Please sign in to comment.