From 9fd1822a0552bbc7c6d0ac8844409df35422d8cd Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 2 Mar 2021 10:20:53 +0100 Subject: [PATCH] Make sure timeline is refreshed when page is accessed Change to fetchPolicy: "cache-and-network" Signed-off-by: Thomas Citharel --- js/src/views/Group/Timeline.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/views/Group/Timeline.vue b/js/src/views/Group/Timeline.vue index 5cf45047..bab7d7b8 100644 --- a/js/src/views/Group/Timeline.vue +++ b/js/src/views/Group/Timeline.vue @@ -110,6 +110,7 @@ type IActivitySkeleton = IActivity | { skeleton: string }; apollo: { group: { query: GROUP_TIMELINE, + fetchPolicy: "cache-and-network", variables() { return { preferredUsername: this.preferredUsername,