0
0
Fork 0

test: fix arrayData

This commit is contained in:
Javier Segarra 2024-10-29 02:38:44 +01:00
parent 0b2c404ab3
commit d2680b0a1f
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
function updateStateParams() {
if (!route) return;
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) {