From 745c69bd7524406fd6d320f78aafebade4cb9456 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 14 Aug 2024 13:46:03 +0200 Subject: [PATCH] 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 --- .../feature/FeatureStrategy/featureStrategy.utils.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/feature/FeatureStrategy/featureStrategy.utils.ts b/frontend/src/component/feature/FeatureStrategy/featureStrategy.utils.ts index 0f83613b563f..500b63c334af 100644 --- a/frontend/src/component/feature/FeatureStrategy/featureStrategy.utils.ts +++ b/frontend/src/component/feature/FeatureStrategy/featureStrategy.utils.ts @@ -6,5 +6,12 @@ export const comparisonModerator = ( ): DeepOmit => { const tempData = { ...data }; - return deepOmit(tempData, 'lastSeenAt', 'yes', 'no', 'lifecycle'); + return deepOmit( + tempData, + 'lastSeenAt', + 'yes', + 'no', + 'lifecycle', + 'collaborators', + ); };