Skip to content

Commit

Permalink
fix: add activity completed event check on process update
Browse files Browse the repository at this point in the history
  • Loading branch information
devmiguelangel committed Aug 2, 2024
1 parent 32aeb51 commit 8b320cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ export default {
},
processUpdated: _.debounce(function(data) {
if (
data.event === "ACTIVITY_ACTIVATED"
['ACTIVITY_ACTIVATED', 'ACTIVITY_COMPLETED'].includes(data.event)
&& data.elementType === 'task'
) {
if (!this.task.elementDestination?.type) {
Expand Down

0 comments on commit 8b320cc

Please sign in to comment.