From ffabaa9b114359d30fbd549b8118f7eb8b638a6a Mon Sep 17 00:00:00 2001 From: Liza Katz Date: Tue, 8 Dec 2020 19:02:38 +0200 Subject: [PATCH] Update x-pack/plugins/data_enhanced/server/search/session/session_service.ts Co-authored-by: Anton Dosov --- .../data_enhanced/server/search/session/session_service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/data_enhanced/server/search/session/session_service.ts b/x-pack/plugins/data_enhanced/server/search/session/session_service.ts index 9aadc87d1aa59..9975c90318487 100644 --- a/x-pack/plugins/data_enhanced/server/search/session/session_service.ts +++ b/x-pack/plugins/data_enhanced/server/search/session/session_service.ts @@ -161,7 +161,7 @@ export class BackgroundSessionService implements ISessionService { this.logger.debug(`updateAllSavedObjects | Updating ${activeMappingObjects.length} items`); const updatedSessions = activeMappingObjects - ?.filter((so) => !so.error) + .filter((so) => !so.error) .map((sessionSavedObject) => { const sessionInfo = this.sessionSearchMap.get(sessionSavedObject.id); const idMapping = sessionInfo ? Object.fromEntries(sessionInfo.ids.entries()) : {};