Skip to content

Commit

Permalink
fix: page breaking when all queries are hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
vikrantgupta25 committed May 24, 2024
1 parent 2f7495c commit a3a228a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function WidgetGraphContainer({

if (
selectedGraph !== PANEL_TYPES.LIST &&
queryResponse.data?.payload.data.result.length === 0
queryResponse.data?.payload.data?.result?.length === 0
) {
return (
<NotFoundContainer>
Expand Down

0 comments on commit a3a228a

Please sign in to comment.