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, loading,
} = useQuery<{ } = useQuery<{
loggedUser: IUser; loggedUser: IUser;
}>(LOGGED_USER_UPCOMING_EVENTS, () => ({ }>(
page: 1, LOGGED_USER_UPCOMING_EVENTS,
limit: 10, () => ({
afterDateTime: dateFilter.value, page: 1,
})); limit: 10,
afterDateTime: dateFilter.value,
}),
() => ({
fetchPolicy: "cache-and-network",
})
);
const futureParticipations = computed( const futureParticipations = computed(
() => () =>