From 9948df56705fe9178153deab3496d0c6525bfaf3 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sat, 19 Aug 2023 14:52:29 +0200 Subject: [PATCH] Fix chats page title occasionally showing as undefined --- packages/client/src/pages/messaging/messaging-room.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/pages/messaging/messaging-room.vue b/packages/client/src/pages/messaging/messaging-room.vue index f458b2b40..726bf2feb 100644 --- a/packages/client/src/pages/messaging/messaging-room.vue +++ b/packages/client/src/pages/messaging/messaging-room.vue @@ -337,7 +337,7 @@ onMounted(() => { fetch(); definePageMetadata( computed(() => ({ - title: group != null ? group.name : user?.name, + title: group != null ? group.name : user?.name ?? 'Chat', icon: "ph-chats-teardrop-bold ph-lg", })), );