Merge branch 'fix-timeline-fetch-policy' into 'master'

Make sure timeline is refreshed when page is accessed

See merge request framasoft/mobilizon!835
This commit is contained in:
Thomas Citharel 2021-03-02 10:30:48 +00:00
commit 4be8c41b80

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,