Skip to content

Commit

Permalink
Fixing Snuba Admin trace UI error. (#6278)
Browse files Browse the repository at this point in the history
Another instance where a null check was missing before calling the
function to retrieve values.

Co-authored-by: Nachiappan Veerappan Nachiappan <[email protected]>
  • Loading branch information
nachivrn and Nachiappan Veerappan Nachiappan authored Sep 9, 2024
1 parent 55be2b1 commit 3fd507e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snuba/admin/static/tracing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function TracingQueries(props: { api: Client }) {
{aggregation_summaries}
{sorting_summaries}
<Title order={4}>Total</Title>
{value.execute_summaries.map((e) => executeSummary(e))}
{value.execute_summaries && value.execute_summaries.map((e) => executeSummary(e))}
</Stack>
</Accordion.Panel>
</Accordion.Item>
Expand Down

0 comments on commit 3fd507e

Please sign in to comment.