refactor: refs #8207 improve logic
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-11-22 15:55:30 +01:00
parent 3a4c0e729a
commit 8b52629b0b
1 changed files with 1 additions and 1 deletions

View File

@ -132,10 +132,10 @@ const addFilter = async (filter, params) => {
async function fetch(params, keepPagination = false) {
useArrayData(props.dataKey, params);
const { limit, skip } = arrayData.store;
if (!keepPagination) await arrayData.fetch({ append: false });
else {
const { limit, skip } = store;
store.limit = limit + skip;
store.skip = 0;
await arrayData.fetch({ append: false });