Skip to content

Commit efbbd49

Browse files
authored
fixed bug where TimerCancelled event was not shown in compact view. (#399)
1 parent 140a80b commit efbbd49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/containers/workflow/helpers/map-timeline-events.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@ export default function(historyEvents) {
149149
.duration(e.details.startToFireTimeoutSeconds, 'seconds')
150150
.format()})`,
151151
});
152+
} else if (e.eventType === WORKFLOW_EVENT_TYPE.TimerCanceled) {
153+
const timerStartedEvent = hash[`timer${e.details.timerId}`];
154+
155+
if (timerStartedEvent) {
156+
timerStartedEvent.eventIds.push(e.eventId);
157+
}
152158
} else if (e.eventType === WORKFLOW_EVENT_TYPE.TimerFired) {
153159
const timerStartedEvent = hash[`timer${e.details.timerId}`];
154160

0 commit comments

Comments
 (0)