Adjust formatting
Signed-off-by: Robert Bunning <rbunning@webstaurantstore.com>
This commit is contained in:
@@ -107,6 +107,7 @@ export const getAllDesendantMembersForGroupEntity = async (
|
||||
|
||||
export const removeDuplicateEntitiesFrom = (entityArray: Entity[]) => {
|
||||
const seenEntities = new Map<string, boolean>();
|
||||
|
||||
return entityArray.filter(entity => {
|
||||
const stringifiedEntity = stringifyEntityRef(entity);
|
||||
const isDuplicate = seenEntities.has(stringifiedEntity);
|
||||
|
||||
Reference in New Issue
Block a user