Add diff in workflow update events + fix existing (#11700)
Closes https://github.com/twentyhq/twenty/issues/11676. Diff should be available for objects displaying timeline activities. It should also fit the existing type.
This commit is contained in:
+4
-1
@@ -401,7 +401,10 @@ export class WorkflowStatusesUpdateJob {
|
||||
},
|
||||
updatedFields: ['statuses'],
|
||||
diff: {
|
||||
statuses: newWorkflowStatuses,
|
||||
statuses: {
|
||||
before: currentWorkflow.statuses,
|
||||
after: newWorkflowStatuses,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user