Show notifications on non-nip29 chat

This commit is contained in:
Jon Staab
2026-03-30 14:29:24 -07:00
parent 5760be4313
commit 55e3a31b61
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -59,6 +59,7 @@
import {setSpaceNotifications} from "@app/core/commands"
import {pushModal} from "@app/util/modal"
import {makeSpacePath, goToChat} from "@app/util/routes"
import {notifications} from "@app/util/notifications"
const {url} = $props()
@@ -232,7 +233,7 @@
<Icon icon={History} /> Recent Activity
</SecondaryNavItem>
{:else}
<SecondaryNavItem href={chatPath}>
<SecondaryNavItem href={chatPath} notification={$notifications.has(chatPath)}>
<Icon icon={ChatRound} /> Chat
</SecondaryNavItem>
{/if}