diff options
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/photos-app-settings.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/photos-app-settings.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/photos-app-settings.js b/packages/meshbay-hub/src/meshbay_hub/static/photos-app-settings.js index 81e6cc1..a241eea 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/photos-app-settings.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/photos-app-settings.js @@ -32,11 +32,14 @@ function PhotoSettings({ roots, dirs, settings, saveDirectories }) { value=${directories} disabled=${busy} onChange=${setDirectories} /> - <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(() => saveDirectories(directories))}> ${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> ${msg && html`<p class="settings-hint">${msg}</p>`} </div> `; |