Fix chats page title occasionally showing as undefined

This commit is contained in:
Laura Hausmann 2023-08-19 14:52:29 +02:00
parent aafe77c5c8
commit 9948df5670
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -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",
})), })),
); );