Move from topic to room using tilde

This commit is contained in:
Jon Staab
2024-09-23 10:28:33 -07:00
parent 88000d02ba
commit 4c9b7da586
12 changed files with 75 additions and 67 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export const makeSpacePath = (url: string, extra = "") => {
export const getPrimaryNavItem = ($page: Page) => $page.route?.id?.split("/")[1]
export const getPrimaryNavItemIndex = ($page: Page) => {
const urls = Array.from(userMembership.get()?.topicsByUrl.keys() || [])
const urls = Array.from(userMembership.get()?.roomsByUrl.keys() || [])
switch (getPrimaryNavItem($page)) {
case "discover":