diff options
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/chat-app-settings.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/chat-app-settings.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/chat-app-settings.js b/packages/meshbay-hub/src/meshbay_hub/static/chat-app-settings.js index 68569b9..5a15074 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/chat-app-settings.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/chat-app-settings.js @@ -45,11 +45,14 @@ function ChatSettings({ roots, dirs, settings, saveDirectories, transport, signF value=${directory} disabled=${busy || noWritable} onChange=${setDirectory} /> - <button class="btn btn-small btn-secondary" style="margin-top:4px" - disabled=${busy || !dirty} + <div class="app-save-row"> + <button class="app-save" disabled=${busy || !dirty} onClick=${() => run(() => transport.setChatDirectory(directory, signFn))}> ${busy ? t('settings_app.saving') : t('settings_app.save')} </button> + ${!busy && !dirty && html` + <span class="app-save-why">${t('settings_app.no_changes')}</span>`} + </div> <div class="settings-row" style="margin-top:12px"> <${ToggleSwitch} checked=${linkPreview} disabled=${busy} |