diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js index 30bcac66b..8b06363a0 100644 --- a/src/composables/useArrayData.js +++ b/src/composables/useArrayData.js @@ -247,6 +247,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) { } function updateStateParams() { + if (!route?.path) return; const newUrl = { path: route.path, query: { ...(route.query ?? {}) } }; newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);