mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-01 04:11:59 +08:00
fix: handle the case where the functions are recieved as undefined in the query response (#4880)
This commit is contained in:
parent
48e5436167
commit
a140bef0e6
@ -105,8 +105,8 @@ export default function QBEntityOptions({
|
|||||||
onQueryFunctionsUpdates && (
|
onQueryFunctionsUpdates && (
|
||||||
<QueryFunctions
|
<QueryFunctions
|
||||||
query={query}
|
query={query}
|
||||||
queryFunctions={query.functions}
|
queryFunctions={query.functions || []}
|
||||||
key={query.functions.toString()}
|
key={query.functions?.toString()}
|
||||||
onChange={onQueryFunctionsUpdates}
|
onChange={onQueryFunctionsUpdates}
|
||||||
maxFunctions={isLogsDataSource ? 1 : 3}
|
maxFunctions={isLogsDataSource ? 1 : 3}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user