mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-25 11:17:50 +01:00
fix: fix filtering of raw_id (#26330)
This commit is contained in:
parent
fb17df2212
commit
960762af45
@ -14,7 +14,7 @@ export const stackFrameLogic = kea<stackFrameLogicType>([
|
||||
loadFrameContexts: async ({ frames }: { frames: ErrorTrackingStackFrame[] }) => {
|
||||
const loadedFrameIds = Object.keys(values.frameContexts)
|
||||
const ids = frames
|
||||
.filter(({ raw_id }) => loadedFrameIds.includes(raw_id))
|
||||
.filter(({ raw_id }) => !loadedFrameIds.includes(raw_id))
|
||||
.map(({ raw_id }) => raw_id)
|
||||
const response = await api.errorTracking.fetchStackFrames(ids)
|
||||
return { ...values.frameContexts, ...response }
|
||||
|
Loading…
Reference in New Issue
Block a user