From d2680b0a1fcccef8b3b5daa9a2ee6b12ddacad34 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 29 Oct 2024 02:38:44 +0100 Subject: [PATCH] test: fix arrayData --- src/composables/useArrayData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js index 0a060e4c6..e33cb8b78 100644 --- a/src/composables/useArrayData.js +++ b/src/composables/useArrayData.js @@ -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) {