1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00

fix: add collaborators to ignored props for feature diff notif (#7877)

Fixes a problem with demo saying you've got outdated data when someone
else has worked with ya
This commit is contained in:
Thomas Heartman 2024-08-14 13:46:03 +02:00
parent c3a492b8fd
commit 745c69bd75
No known key found for this signature in database
GPG Key ID: BD1F880DAED1EE78

View File

@ -6,5 +6,12 @@ export const comparisonModerator = (
): DeepOmit<IFeatureToggle, keyof IFeatureToggle> => {
const tempData = { ...data };
return deepOmit(tempData, 'lastSeenAt', 'yes', 'no', 'lifecycle');
return deepOmit(
tempData,
'lastSeenAt',
'yes',
'no',
'lifecycle',
'collaborators',
);
};