diff --git a/src/app/components/SpaceMenu.svelte b/src/app/components/SpaceMenu.svelte index 2ba237d9..727ae4b4 100644 --- a/src/app/components/SpaceMenu.svelte +++ b/src/app/components/SpaceMenu.svelte @@ -258,7 +258,7 @@ Your Rooms {/if} {#each $userRooms as h (h)} - + {/each} {#if $otherRooms.length > 0}
diff --git a/src/app/components/SpaceMenuRoomItem.svelte b/src/app/components/SpaceMenuRoomItem.svelte index d173498e..73c833ff 100644 --- a/src/app/components/SpaceMenuRoomItem.svelte +++ b/src/app/components/SpaceMenuRoomItem.svelte @@ -12,11 +12,10 @@ interface Props { url: any h: any - notify?: boolean replaceState?: boolean } - const {url, h, notify = false, replaceState = false}: Props = $props() + const {url, h, replaceState = false}: Props = $props() const room = deriveRoom(url, h) const roomType = $derived(getRoomType($room)) @@ -32,7 +31,7 @@ + notification={$shouldNotifyForRoom ? $notifications.has(path) : false}> {#if showDifferenceIcon} diff --git a/src/lib/components/SecondaryNavItem.svelte b/src/lib/components/SecondaryNavItem.svelte index 3dd7a401..f3416331 100644 --- a/src/lib/components/SecondaryNavItem.svelte +++ b/src/lib/components/SecondaryNavItem.svelte @@ -39,7 +39,8 @@ class:bg-base-100={active}> {@render children?.()} {#if notification} -
+
+
{/if} {:else} @@ -49,7 +50,8 @@ class:text-base-content={active} class:bg-base-100={active}> {#if notification} -
+
+
{/if} {@render children?.()}