summaryrefslogtreecommitdiffstats
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.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/app.js b/packages/meshbay-hub/src/meshbay_hub/static/app.js
index c460f23..eb11469 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/app.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/app.js
@@ -504,7 +504,8 @@ function TransferWidget() {
return html`
<div class="transfer-wrap" ref=${ref}>
- <button class="nav-notif transfer-btn" title=${t('transfers.title')}
+ <button class="nav-notif transfer-btn ${running.length ? 'active' : ''}"
+ title=${t('transfers.title')}
onClick=${(e) => { e.stopPropagation(); setOpen(o => !o); }}>
<${Icon} name="transfer" />
${running.length > 0 && html`
@@ -2057,7 +2058,7 @@ function GroupPage({ groupId, group, token, username, userId, onRefreshAuth,
</td>
`}
<td>${unavailableHere.includes(d) ? '\u{26A0}' : '\u{1F4C1}'}</td>
- <td>${d}/${unavailableHere.includes(d) ? html`
+ <td>${d}${unavailableHere.includes(d) ? html`
<span class="root-offline"> ${t('group.root_unavailable')}</span>
` : ''}</td>
<td class="file-size">${inside.length ? formatSize(bytes) : ''}</td>
@@ -2562,8 +2563,10 @@ function GroupSettingsPanel({ groupId, group, token, transportRef, gekRef,
${/* Before the roster, not after it: this is what someone came here to
do, and a list of two hundred names is a long way to scroll for
it. */ html`
- <div class="settings-section danger-section">
- <h3 class="settings-heading">${t('members.danger_title')}</h3>
+ <div class="settings-section">
+ <h3 class="settings-heading">
+ ${isOwner ? t('group.delete_group') : t('group.leave')}
+ </h3>
<div class="settings-row">
<span class="settings-label">
${isOwner ? t('members.danger_delete_hint')