diff --git a/src/app/components/MenuSpacesItem.svelte b/src/app/components/MenuSpacesItem.svelte index 9eba280..1e0099f 100644 --- a/src/app/components/MenuSpacesItem.svelte +++ b/src/app/components/MenuSpacesItem.svelte @@ -5,7 +5,7 @@ import RelayName from "@app/components/RelayName.svelte" import RelayDescription from "@app/components/RelayDescription.svelte" import {makeSpacePath} from "@app/routes" - import {inactiveNotifications} from "@app/notifications" + import {notifications} from "@app/notifications" export let url @@ -17,7 +17,7 @@
- {#if $inactiveNotifications.has(path)} + {#if $notifications.has(path)}
{/if}
diff --git a/src/app/components/PrimaryNav.svelte b/src/app/components/PrimaryNav.svelte index 8dcab4c..252e530 100644 --- a/src/app/components/PrimaryNav.svelte +++ b/src/app/components/PrimaryNav.svelte @@ -1,4 +1,5 @@
- - Threads + + +
+ Threads + {#if $notifications.has(threadsPath)} +
+ {/if} +
{#each $userRooms as room (room)} - + {@const roomPath = makeRoomPath(url, room)} + {#if channelIsLocked($channelsById.get(makeChannelId(url, room)))} {:else} {/if} - +
+ + {#if $notifications.has(roomPath)} +
+ {/if} +
{/each} {#each $otherRooms as room (room)}