1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +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 committed by GitHub
parent 7481ea9912
commit 5e82e47d94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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',
);
};