Always fetch the latest events from the server in the events list
This commit is contained in:
@@ -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(
|
||||||
() =>
|
() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user