We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 508e7ed commit 5615591Copy full SHA for 5615591
src/GEOComp.tsx
@@ -404,7 +404,7 @@ GEOComp = withMethodExposing(GEOComp, [
404
description: "Return the last event",
405
},
406
execute: async (comp: any, params: any) => {
407
- return comp.exposingValues.events['current'] || {}
+ return comp.exposingValues.events?.current ? comp.exposingValues.events[comp.exposingValues.events.current] : {}
408
}
409
410
{
0 commit comments