fix: empty order
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2025-02-05 11:58:30 +01:00
parent 4b66a8dea5
commit 93ece4bf07
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ export function useArrayData(key, userOptions) {
if (params.filter.where || exprFilter)
params.filter.where = { ...params.filter.where, ...exprFilter };
if (!params?.filter?.order.length) delete params.filter.order;
if (!params?.filter?.order?.length) delete params.filter.order;
params.filter = JSON.stringify(params.filter);