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

This commit is contained in:
Javier Segarra 2024-10-29 02:38:44 +01:00
parent 39963e4ec9
commit 987c28e745
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
function updateStateParams() {
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
if (store.appendParams)
if (store?.appendParams ?? true)
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
if (store.navigate) {