mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 11:27:31 -07:00
Fix chats page title occasionally showing as undefined
This commit is contained in:
parent
aafe77c5c8
commit
9948df5670
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ onMounted(() => {
|
||||||
fetch();
|
fetch();
|
||||||
definePageMetadata(
|
definePageMetadata(
|
||||||
computed(() => ({
|
computed(() => ({
|
||||||
title: group != null ? group.name : user?.name,
|
title: group != null ? group.name : user?.name ?? 'Chat',
|
||||||
icon: "ph-chats-teardrop-bold ph-lg",
|
icon: "ph-chats-teardrop-bold ph-lg",
|
||||||
})),
|
})),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue