diff --git a/frontend/src/container/QueryBuilder/components/Query/Query.tsx b/frontend/src/container/QueryBuilder/components/Query/Query.tsx index 71ea070e67..7192561a27 100644 --- a/frontend/src/container/QueryBuilder/components/Query/Query.tsx +++ b/frontend/src/container/QueryBuilder/components/Query/Query.tsx @@ -324,7 +324,7 @@ export const Query = memo(function Query({ ]); const disableOperatorSelector = - !query?.aggregateAttribute.key || query?.aggregateAttribute.key === ''; + !query?.aggregateAttribute?.key || query?.aggregateAttribute?.key === ''; const isVersionV4 = version && version === ENTITY_VERSION_V4;