Always fetch the latest events from the server in the events list

This commit is contained in:
Massedil
2025-06-20 19:44:43 +02:00
parent 4e0af78a36
commit 70fdb11d18

View File

@@ -298,11 +298,17 @@ const {
loading,
} = useQuery<{
loggedUser: IUser;
}>(LOGGED_USER_UPCOMING_EVENTS, () => ({
page: 1,
limit: 10,
afterDateTime: dateFilter.value,
}));
}>(
LOGGED_USER_UPCOMING_EVENTS,
() => ({
page: 1,
limit: 10,
afterDateTime: dateFilter.value,
}),
() => ({
fetchPolicy: "cache-and-network",
})
);
const futureParticipations = computed(
() =>