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 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>
|
||||
|
|
Loading…
Reference in New Issue