feat: show all communities instead of subscribed

This commit is contained in:
Xyphyn committed 2023-08-25 08:03:38 -07:00
1 parent f77266e41a
commit 892212d599
1 file changed
+2 -1
@@ -68,7 +68,7 @@
} else { } else {
const list = await getClient().listCommunities({ const list = await getClient().listCommunities({
auth: $profile?.jwt, auth: $profile?.jwt,
type_: 'Subscribed', type_: 'All',
sort: 'Active', sort: 'Active',
limit: 40, limit: 40,
}) })
@@ -190,6 +190,7 @@
bind:q={communitySearch} bind:q={communitySearch}
bind:items={communities} bind:items={communities}
jwt={$profile?.jwt} jwt={$profile?.jwt}
listing_type="All"
on:select={(e) => { on:select={(e) => {
const c = e.detail const c = e.detail
if (!c) { if (!c) {