forked from verdnatura/salix-front
fix: refs #8036 only add where when required
This commit is contained in:
parent
8381a25017
commit
bfc906a346
|
@ -103,7 +103,8 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
params.filter.where = { ...params.filter.where, ...exprFilter };
|
if (params.filter.where || exprFilter)
|
||||||
|
params.filter.where = { ...params.filter.where, ...exprFilter };
|
||||||
params.filter = JSON.stringify(params.filter);
|
params.filter = JSON.stringify(params.filter);
|
||||||
|
|
||||||
store.isLoading = true;
|
store.isLoading = true;
|
||||||
|
|
Loading…
Reference in New Issue