From 2b10278901da296575a1a1571e625448cdcbc1a8 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 2 Oct 2023 09:02:15 +0200 Subject: [PATCH] ref #5417 fix refresh method --- src/composables/useArrayData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/useArrayData.js b/src/composables/useArrayData.js index 9165a99e41..7e0a07bb33 100644 --- a/src/composables/useArrayData.js +++ b/src/composables/useArrayData.js @@ -136,7 +136,7 @@ export function useArrayData(key, userOptions) { } async function refresh(showAll = true) { - if (showAll || (!showAll && Object.values(store.userParams).length)) + if (showAll || Object.values(store.userParams).length) await fetch({ append: false }); }