fix: not append url when is summary

This commit is contained in:
Javier Segarra 2024-10-14 13:48:04 +02:00
parent 49ec3d8d4b
commit 4914841775
1 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,8 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
function updateStateParams() {
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
if (!route.path.endsWith('/summary'))
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
if (store.navigate) {
const { customRouteRedirectName, searchText } = store.navigate;