mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 06:35:56 +08:00
fix: page breaking when all queries are hidden (#5080)
* fix: page breaking when all queries are hidden * fix: page breaking when all queries are hidden
This commit is contained in:
parent
2f7495c6e4
commit
1d86e5eb50
@ -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>
|
||||
@ -50,7 +50,7 @@ function WidgetGraphContainer({
|
||||
}
|
||||
if (
|
||||
selectedGraph === PANEL_TYPES.LIST &&
|
||||
queryResponse.data?.payload.data.newResult.data.result.length === 0
|
||||
queryResponse.data?.payload.data.newResult?.data?.result?.length === 0
|
||||
) {
|
||||
return (
|
||||
<NotFoundContainer>
|
||||
|
Loading…
x
Reference in New Issue
Block a user