link chat unread status to message page being open
This commit is contained in:
@@ -40,7 +40,11 @@ export function ChatPage(chatViewModel: ChatViewModel) {
|
||||
const value = chatViewModel.notificationViewModel.marquee.value;
|
||||
if (value == undefined) return <span></span>;
|
||||
return (
|
||||
<span on:click={chatViewModel.notificationViewModel.openNotification}>
|
||||
<span
|
||||
on:click={
|
||||
chatViewModel.notificationViewModel.openNotification
|
||||
}
|
||||
>
|
||||
<b>{value.sender}</b>
|
||||
<span class="secondary">{value.chat}: </span>
|
||||
<span>{value.body}</span>
|
||||
|
||||
Reference in New Issue
Block a user