Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/components/task.vue
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,12 @@ export default {
* @param {Object} data - The event data received from the socket listener.
*/
handleProcessUpdate(data) {
if (!this.task) {
// reload the task if it is not found
this.reload();
return;
}
const { event, elementDestination, tokenId } = data;
// If the activity is completed and there is an element destination, set the element destination to the task
Expand Down
Loading