feat: messaging room banner
This commit is contained in:
parent
4a1a954386
commit
594ee74324
1 changed files with 11 additions and 0 deletions
|
@ -6,6 +6,12 @@
|
|||
@drop.prevent.stop="onDrop"
|
||||
>
|
||||
<div class="_content mk-messaging-room">
|
||||
<template #header
|
||||
><MkPageHeader
|
||||
:actions="headerActions"
|
||||
:tabs="headerTabs"
|
||||
:display-back-button="true"
|
||||
/></template>
|
||||
<MkSpacer :content-max="800">
|
||||
<div class="body">
|
||||
<MkPagination
|
||||
|
@ -328,12 +334,17 @@ function onVisibilitychange() {
|
|||
}
|
||||
}
|
||||
|
||||
const headerActions = $computed(() => []);
|
||||
|
||||
const headerTabs = $computed(() => []);
|
||||
|
||||
onMounted(() => {
|
||||
fetch();
|
||||
definePageMetadata(
|
||||
computed(() => ({
|
||||
title: group != null ? group.name : user?.name,
|
||||
icon: "ph-chats-teardrop ph-bold ph-lg",
|
||||
avatar: group != null ? null : user,
|
||||
}))
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue