From b14e84043fa70d5df1b7ecf6bc356d466c491014 Mon Sep 17 00:00:00 2001 From: MateuszMichalowski <79852198+MateuszMichalowski@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:49:42 +0100 Subject: [PATCH] fix(frontend): fix contribution data handling (#3405) * feat(frontend): add feedback fixes + map feature fixes * feat(frontend): fetch contribution data networkOnly --- frontend/src/pages/Community.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Community.vue b/frontend/src/pages/Community.vue index f850ccb4e..6ab7d9875 100644 --- a/frontend/src/pages/Community.vue +++ b/frontend/src/pages/Community.vue @@ -137,7 +137,13 @@ const computedKeyFromForm = computed(() => { return `${form.value.id}_${form.value.date}_${form.value.memo}_${form.value.amount}_${form.value.hours}` }) -const { onResult: onOpenCreationsResult, refetch: refetchOpenCreations } = useQuery(openCreations) +const { onResult: onOpenCreationsResult, refetch: refetchOpenCreations } = useQuery( + openCreations, + () => ({}), + { + fetchPolicy: 'network-only', + }, +) const { onResult: onListAllContributionsResult, refetch: refetchAllContributions } = useQuery( listAllContributions, () => ({