forked from potsda.mn/mobilizon
Fix terms and privacy view
Closes #1229 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
e93e282524
commit
bce2a4dc3c
|
@ -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,
|
||||
})
|
||||
);
|
||||
|
||||
|
|
|
@ -26,10 +26,10 @@ const { result: termsResult, loading: termsLoading } = useQuery<{
|
|||
}>(
|
||||
TERMS,
|
||||
() => ({
|
||||
locale: locale.value,
|
||||
locale: locale,
|
||||
}),
|
||||
() => ({
|
||||
enabled: locale.value !== undefined,
|
||||
enabled: locale !== undefined,
|
||||
})
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue