This commit is contained in:
ThatOneCalculator 2022-11-14 20:58:23 -08:00
parent 7f2402416b
commit bff5fb1677

View file

@ -275,18 +275,10 @@ function onVisibilitychange() {
onMounted(() => {
fetch();
if (group != null) {
definePageMetadata(computed(() => ({
title: group.name,
icon: 'ph-chats-teardrop-bold ph-lg',
})));
}
else {
definePageMetadata(computed(() => ({
title: user.name,
icon: 'ph-chats-teardrop-bold ph-lg',
})));
}
definePageMetadata(computed(() => ({
title: group != null ? group.name : user?.name,
icon: 'ph-chats-teardrop-bold ph-lg',
})));
});
onBeforeUnmount(() => {