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

View File

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