summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/explore-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/explore-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/explore-page.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/explore-page.js b/packages/meshbay-hub/src/meshbay_hub/static/explore-page.js
index 486c1e6..bb47487 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/explore-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/explore-page.js
@@ -78,8 +78,11 @@ export function ExplorePage({ token, myGroupIds, allowPublicGroups = true }) {
owner=${g.source && g.source !== 'local' ? g.source : g.owner_username} /></h3>
${g.description && html`<p class="group-card-desc">${g.description}</p>`}
</a>
- <span class="badge">${g.join_policy}</span>
- ${' '}
+ ${/* No join_policy badge: on a hub whose groups are all
+ invite-only it read "invite" on every card. An open
+ group still announces itself — with the Join button
+ below, which is the useful half. The @host is already
+ beside the name, via GroupName. */''}
${isMember(g.id)
? html`<span class="badge">${t('explore.member')}</span>`
: g.join_policy === 'open' && html`