Fix ORM event mixing records in batch updates (#15985)
While investigating the issue a customer was facing, I discovered that before records and after records could be in different order, making the orm event and timeline activity engine mix records
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
import deepEqual from 'deep-equal';
|
||||
import { FieldMetadataType, type ObjectRecord } from 'twenty-shared/types';
|
||||
import { STANDARD_OBJECT_IDS } from 'twenty-shared/metadata';
|
||||
import { FieldMetadataType, type ObjectRecord } from 'twenty-shared/types';
|
||||
|
||||
import { type ObjectMetadataItemWithFieldMaps } from 'src/engine/metadata-modules/types/object-metadata-item-with-field-maps';
|
||||
|
||||
@@ -15,7 +15,7 @@ const isWorkflowVersionStepsOrTrigger = (
|
||||
};
|
||||
|
||||
const isWorkflowAutomatedTriggerSettings = (
|
||||
objectMetadataItem: ObjectMetadataItemWithFieldMaps,
|
||||
objectMetadataItem: Pick<ObjectMetadataItemWithFieldMaps, 'standardId'>,
|
||||
key: string,
|
||||
) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user