Fix edit event cache issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-03 16:54:56 +02:00
parent 7412702cd8
commit 75bd7a3d75
4 changed files with 115 additions and 9 deletions

View File

@@ -83,6 +83,7 @@ import EventCard from '@/components/Event/EventCard.vue';
apollo: {
futureParticipations: {
query: LOGGED_USER_PARTICIPATIONS,
fetchPolicy: 'network-only',
variables: {
page: 1,
limit: 10,
@@ -92,6 +93,7 @@ import EventCard from '@/components/Event/EventCard.vue';
},
drafts: {
query: LOGGED_USER_DRAFTS,
fetchPolicy: 'network-only',
variables: {
page: 1,
limit: 10,
@@ -100,6 +102,7 @@ import EventCard from '@/components/Event/EventCard.vue';
},
pastParticipations: {
query: LOGGED_USER_PARTICIPATIONS,
fetchPolicy: 'network-only',
variables: {
page: 1,
limit: 10,