From e65480eab434d110eb210abf3c8892b2818e44e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Zugmeyer?= Date: Fri, 8 Sep 2023 15:03:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=F0=9F=90=9B=20the=20monorepo?= =?UTF-8?q?=20TS=20configuration=20prevents=20us=20from=20using=20iterator?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/panel/hooks/useEvents/facetRegistry.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer-extension/src/panel/hooks/useEvents/facetRegistry.ts b/developer-extension/src/panel/hooks/useEvents/facetRegistry.ts index e950ba8bf0..7320cb0893 100644 --- a/developer-extension/src/panel/hooks/useEvents/facetRegistry.ts +++ b/developer-extension/src/panel/hooks/useEvents/facetRegistry.ts @@ -19,9 +19,9 @@ export class FacetRegistry { this.eventFieldsCache.set(event, fields) incrementFacetValueCounts(fields, this.facetValueCounts) - for (const fieldPath of fields.keys()) { + fields.forEach((_value, fieldPath) => { this.allEventFieldPaths.add(fieldPath) - } + }) } getFieldValueForEvent(event: SdkEvent, fieldPath: FieldPath): FieldMultiValue | undefined {