Skip to content

Commit

Permalink
fix: fix filtering of raw_id (#26330)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin authored Nov 21, 2024
1 parent fb17df2 commit 960762a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/Errors/stackFrameLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 960762a

Please sign in to comment.