forked from verdnatura/salix-front
ref #5417 fix refresh method
This commit is contained in:
parent
f14702ca9f
commit
2b10278901
|
@ -136,7 +136,7 @@ export function useArrayData(key, userOptions) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function refresh(showAll = true) {
|
async function refresh(showAll = true) {
|
||||||
if (showAll || (!showAll && Object.values(store.userParams).length))
|
if (showAll || Object.values(store.userParams).length)
|
||||||
await fetch({ append: false });
|
await fetch({ append: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue