diff --git a/package-lock.json b/package-lock.json index d43c749e..2f0f5f45 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "flotilla", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "flotilla", - "version": "0.1.0", + "version": "0.2.0", "dependencies": { "@capacitor/android": "^6.1.2", "@capacitor/cli": "^6.1.2", diff --git a/package.json b/package.json index aedbf319..6d402891 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flotilla", - "version": "0.1.0", + "version": "0.2.0", "private": true, "scripts": { "dev": "vite dev", diff --git a/src/app/components/MenuSpaceRoomItem.svelte b/src/app/components/MenuSpaceRoomItem.svelte index 982752eb..804e1528 100644 --- a/src/app/components/MenuSpaceRoomItem.svelte +++ b/src/app/components/MenuSpaceRoomItem.svelte @@ -2,7 +2,7 @@ import Icon from "@lib/components/Icon.svelte" import SecondaryNavItem from "@lib/components/SecondaryNavItem.svelte" import ChannelName from "@app/components/ChannelName.svelte" - import {makeSpacePath} from "@app/routes" + import {makeRoomPath} from "@app/routes" import {deriveChannel, channelIsLocked} from "@app/state" import {notifications} from "@app/notifications" @@ -10,7 +10,7 @@ export let room export let notify = false - const path = makeSpacePath(url, room) + const path = makeRoomPath(url, room) const channel = deriveChannel(url, room) diff --git a/src/routes/spaces/[relay]/+page.svelte b/src/routes/spaces/[relay]/+page.svelte index 616a1143..7a3f25e2 100644 --- a/src/routes/spaces/[relay]/+page.svelte +++ b/src/routes/spaces/[relay]/+page.svelte @@ -131,25 +131,23 @@ {#each $userRooms as room (room)} {@const roomPath = makeRoomPath(url, room)} - -
+ +
{#if channelIsLocked($channelsById.get(makeChannelId(url, room)))} {:else} {/if} - {#if $notifications.has(roomPath)} -
- {/if}
+ {#if $notifications.has(roomPath)} +
+ {/if} {/each} {#each $otherRooms as room (room)} -
+
{#if channelIsLocked($channelsById.get(makeChannelId(url, room)))} {:else}