Don't extend dataprovider queries when no extensions are in use

This commit is contained in:
Andrew Kingston 2024-10-16 11:56:52 +01:00
parent 9b009f9728
commit 0a1912e42c
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@
}
const extendQuery = (defaultQuery, extensions) => {
if (!Object.keys(extensions).length) {
return
}
const extended = {
[LogicalOperator.AND]: {
conditions: [