From 54da67d820f876b1b4000c8d6a76215689f79caa Mon Sep 17 00:00:00 2001 From: Robert Bunning Date: Mon, 24 Apr 2023 16:32:18 -0400 Subject: [PATCH] Adjust formatting Signed-off-by: Robert Bunning --- plugins/org/src/helpers/helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/org/src/helpers/helpers.ts b/plugins/org/src/helpers/helpers.ts index e0e83bec67..7da4ee32d8 100644 --- a/plugins/org/src/helpers/helpers.ts +++ b/plugins/org/src/helpers/helpers.ts @@ -107,6 +107,7 @@ export const getAllDesendantMembersForGroupEntity = async ( export const removeDuplicateEntitiesFrom = (entityArray: Entity[]) => { const seenEntities = new Map(); + return entityArray.filter(entity => { const stringifiedEntity = stringifyEntityRef(entity); const isDuplicate = seenEntities.has(stringifiedEntity);