From 6858bcbbda6d8527bd15b9138e7bb30c5ead72d7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 24 May 2023 11:34:25 +0200 Subject: [PATCH] fix(front): remove cache-only for ABOUT GraphQL details on homepage Otherwise this doesn't show the title of the instance when going back Signed-off-by: Thomas Citharel --- js/src/views/HomeView.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/src/views/HomeView.vue b/js/src/views/HomeView.vue index b82ae1a0b..15cacd6f3 100644 --- a/js/src/views/HomeView.vue +++ b/js/src/views/HomeView.vue @@ -236,9 +236,7 @@ const { result: aboutConfigResult } = useQuery<{ IConfig, "name" | "description" | "slogan" | "registrationsOpen" >; -}>(ABOUT, undefined, { - fetchPolicy: "cache-only", -}); +}>(ABOUT); const config = computed(() => aboutConfigResult.value?.config);