1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-26 17:59:26 +00:00

Fix order of useHead registration on JoinGroupWithAccount view

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-07 11:29:15 +01:00
parent 066e71c517
commit 6e1687a651
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -26,6 +26,14 @@ const { group } = useGroup(props.preferredUsername);
const { t } = useI18n({ useScope: "global" });
const groupTitle = computed((): undefined | string => {
return group && displayName(group.value);
});
const uri = computed((): string | undefined => {
return group.value?.url;
});
useHead({
title: computed(() =>
t("Join group {group}", {
@ -33,12 +41,4 @@ useHead({
})
),
});
const uri = computed((): string | undefined => {
return group.value?.url;
});
const groupTitle = computed((): undefined | string => {
return group && displayName(group.value);
});
</script>