mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
Fix chats page title occasionally showing as undefined
This commit is contained in:
parent
aafe77c5c8
commit
9948df5670
@ -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 New Issue
Block a user