Don't extend dataprovider queries when no extensions are in use
This commit is contained in:
parent
9b009f9728
commit
0a1912e42c
|
@ -126,6 +126,9 @@
|
|||
}
|
||||
|
||||
const extendQuery = (defaultQuery, extensions) => {
|
||||
if (!Object.keys(extensions).length) {
|
||||
return
|
||||
}
|
||||
const extended = {
|
||||
[LogicalOperator.AND]: {
|
||||
conditions: [
|
||||
|
|
Loading…
Reference in New Issue