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 <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-24 11:34:25 +02:00
parent 94182aed2d
commit 6858bcbbda
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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);