diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-08-28 10:15:51 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-08-28 10:15:51 +0200 |
| commit | efb1e77d80c03b14699884c40f3b5b17814e831b (patch) | |
| tree | c84abd7206aa58cecf74f38c0546825a0b66e83a /packages/meshbay-hub/src/meshbay_hub/static/app.js | |
| parent | 232ce4ae82179245b402ffc3bd473565329e5e16 (diff) | |
| parent | a1e4442d3b691b84f20906831713036b6daab62c (diff) | |
| download | meshbay-efb1e77d80c03b14699884c40f3b5b17814e831b.tar.gz | |
Merge branch 'docs/v6-amendments'
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/app.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/app.js | 14 |
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> `; }) |