make notification clickable to open chat

This commit is contained in:
marlon-erler
2026-04-01 19:14:42 +00:00
parent 3bd0287517
commit b7373e909f
4 changed files with 38 additions and 4 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export function ChatPage(chatViewModel: ChatViewModel) {
const value = chatViewModel.notificationViewModel.marquee.value;
if (value == undefined) return <span></span>;
return (
<span>
<span on:click={chatViewModel.notificationViewModel.openNotification}>
<b>{value.sender}</b>
<span class="secondary">{value.chat}: </span>
<span>{value.body}</span>