Skip to content

Commit 64474f4

Browse files
authored
geosolutions-it#10577: Fix - GFI in identify popup does not trigger when one of the responses is an error (geosolutions-it#10578)
1 parent 06c7de2 commit 64474f4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

web/client/components/common/enhancers/withIdentifyPopup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const withIdentifyRequest = mapPropsStream(props$ => {
9090
}
9191
})
9292
)
93-
.catch((e) => ({
93+
.catch((e) => Observable.of({
9494
error: e.data || e.statusText || e.status,
9595
reqId,
9696
queryParams,

web/client/components/geostory/common/enhancers/withPopupSupport.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const withIdentifyRequest = mapPropsStream(props$ => {
117117
})
118118
) : Observable.empty()
119119
)
120-
.catch((e) => ({
120+
.catch((e) => Observable.of({
121121
error: e.data || e.statusText || e.status,
122122
reqId,
123123
queryParams,

0 commit comments

Comments
 (0)