mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-27 10:19:59 +00:00
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
1 changed files with 8 additions and 8 deletions
|
@ -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 a new issue