Fix terms and privacy view

Closes #1229

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-29 08:17:58 +01:00
parent e93e282524
commit bce2a4dc3c
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
2 changed files with 4 additions and 4 deletions

View File

@ -22,10 +22,10 @@ const { locale } = useI18n({ useScope: "global" });
const { result: configResult } = useQuery<{ config: IConfig }>(
PRIVACY,
() => ({
locale: locale.value,
locale: locale,
}),
() => ({
enabled: locale.value !== undefined,
enabled: locale !== undefined,
})
);

View File

@ -26,10 +26,10 @@ const { result: termsResult, loading: termsLoading } = useQuery<{
}>(
TERMS,
() => ({
locale: locale.value,
locale: locale,
}),
() => ({
enabled: locale.value !== undefined,
enabled: locale !== undefined,
})
);