test: fix
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-05-27 15:00:11 +02:00
parent f75da3d165
commit cf67a0dc46
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ function buildwhere(val) {
async function fetchFilter(val) { async function fetchFilter(val) {
const { fields, sortBy, limit } = $props; const { fields, sortBy, limit } = $props;
const where = buildwhere(val); const where = buildwhere(val);
if (!dataRef.value) return;
return dataRef.value.fetch({ fields, where, order: sortBy, limit }); return dataRef.value.fetch({ fields, where, order: sortBy, limit });
} }