Skip to content

Commit 23d9fde

Browse files
committed
fix: Fix preaggregator to abort if active clause is null.
1 parent 9d96dab commit 23d9fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/preagg/PreAggregator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export class PreAggregator {
134134
*/
135135
request(client, selection, activeClause) {
136136
// if not enabled, do nothing
137-
if (!this.enabled) return null;
137+
if (!this.enabled || activeClause == null) return null;
138138

139139
const { entries, mc, schema } = this;
140140
const { source } = activeClause;

0 commit comments

Comments
 (0)