aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/app.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/app.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/app.js b/packages/meshbay-hub/src/meshbay_hub/static/app.js
index 18f34fc..9a0787b 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/app.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/app.js
@@ -348,14 +348,16 @@ function Sidebar({ groups, presence, indexProgressPct, route, menuOpen, role, ha
: t('presence.' + state);
return html`
<a key=${g.id}
- class="sidebar-item ${route === '/group/' + g.id ? 'active' : ''}"
+ class="sidebar-item sidebar-group ${route === '/group/' + g.id ? 'active' : ''}"
href="#/group/${g.id}">
- <span class="presence presence-${state}"
- title="${label}"
- aria-label="${label}"></span>
- <span class="sidebar-item-name">
- <${GroupName} name=${g.name} owner=${g.owner_username} />
+ <span class="si-head">
+ <span class="presence presence-${state}"
+ title="${label}"
+ aria-label="${label}"></span>
+ <span class="sidebar-item-name">${g.name}</span>
</span>
+ ${g.owner_username && html`
+ <span class="sidebar-owner">@${g.owner_username}</span>`}
</a>
`;
})