forked from verdnatura/salix-front
test: fix arrayData
This commit is contained in:
parent
0b2c404ab3
commit
d2680b0a1f
|
@ -249,7 +249,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
||||||
function updateStateParams() {
|
function updateStateParams() {
|
||||||
if (!route) return;
|
if (!route) return;
|
||||||
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
|
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
|
||||||
if (store.appendParams)
|
if (store?.appendParams ?? true)
|
||||||
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
|
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
|
||||||
|
|
||||||
if (store.navigate) {
|
if (store.navigate) {
|
||||||
|
|
Loading…
Reference in New Issue