0
0
Fork 0

fix(Zone): if route is null

This commit is contained in:
Alex Moreno 2024-11-14 12:18:39 +01:00
parent eecf8beb7a
commit c65f15d0f0
1 changed files with 1 additions and 0 deletions

View File

@ -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);