forked from potsda.mn/mobilizon
Fix order of useHead registration on JoinGroupWithAccount view
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
066e71c517
commit
6e1687a651
|
@ -26,6 +26,14 @@ const { group } = useGroup(props.preferredUsername);
|
||||||
|
|
||||||
const { t } = useI18n({ useScope: "global" });
|
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({
|
useHead({
|
||||||
title: computed(() =>
|
title: computed(() =>
|
||||||
t("Join group {group}", {
|
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>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue