perf: default params
gitea/salix-front/pipeline/pr-test This commit looks good Details

This commit is contained in:
Javier Segarra 2025-02-19 12:19:59 +01:00
parent fa21e0e5d4
commit 61374493bd
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ export function useArrayData(key, userOptions) {
}
async function fetch(fetchOptions) {
let { append = false, updateRouter = true } = fetchOptions;
let { append = false, updateRouter = true } = fetchOptions ?? {};
if (!store.url) return;
cancelRequest();