Make sure timeline is refreshed when page is accessed

Change to fetchPolicy: "cache-and-network"

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-02 10:20:53 +01:00
parent 3fade65c8e
commit 9fd1822a05
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -110,6 +110,7 @@ type IActivitySkeleton = IActivity | { skeleton: string };
apollo: { apollo: {
group: { group: {
query: GROUP_TIMELINE, query: GROUP_TIMELINE,
fetchPolicy: "cache-and-network",
variables() { variables() {
return { return {
preferredUsername: this.preferredUsername, preferredUsername: this.preferredUsername,