Merge pull request 'fix: not fetch on mounted' (!1015) from hotfix-notRedirectOnLoad into master
gitea/salix-front/pipeline/head This commit looks good Details

Reviewed-on: #1015
Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
Alex Moreno 2024-11-28 07:34:21 +00:00
commit fe34eefc55
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ const addFilter = async (filter, params) => {
async function fetch(params) {
useArrayData(props.dataKey, params);
arrayData.reset(['filter.skip', 'skip', 'page']);
await arrayData.fetch({ append: false });
await arrayData.fetch({ append: false, updateRouter: mounted.value });
return emitStoreData();
}