From 653bfd97ab9c7e9a1865451d5768ae4c94de439e Mon Sep 17 00:00:00 2001 From: Suren Date: Wed, 2 Oct 2024 12:46:39 +0530 Subject: [PATCH] #10577: Fix - GFI in identify popup does not trigger when one of the responses is an error --- web/client/components/common/enhancers/withIdentifyPopup.jsx | 2 +- .../components/geostory/common/enhancers/withPopupSupport.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/client/components/common/enhancers/withIdentifyPopup.jsx b/web/client/components/common/enhancers/withIdentifyPopup.jsx index 7ba204daf3..d1774d4d07 100644 --- a/web/client/components/common/enhancers/withIdentifyPopup.jsx +++ b/web/client/components/common/enhancers/withIdentifyPopup.jsx @@ -90,7 +90,7 @@ export const withIdentifyRequest = mapPropsStream(props$ => { } }) ) - .catch((e) => ({ + .catch((e) => Observable.of({ error: e.data || e.statusText || e.status, reqId, queryParams, diff --git a/web/client/components/geostory/common/enhancers/withPopupSupport.jsx b/web/client/components/geostory/common/enhancers/withPopupSupport.jsx index d42ba35121..3c0de0a2c9 100644 --- a/web/client/components/geostory/common/enhancers/withPopupSupport.jsx +++ b/web/client/components/geostory/common/enhancers/withPopupSupport.jsx @@ -117,7 +117,7 @@ const withIdentifyRequest = mapPropsStream(props$ => { }) ) : Observable.empty() ) - .catch((e) => ({ + .catch((e) => Observable.of({ error: e.data || e.statusText || e.status, reqId, queryParams,