Show "Default" for unchanged server file paths

This commit is contained in:
schroda
2024-09-26 01:59:24 +02:00
parent 5a46f1fdef
commit 314ad39ee0
5 changed files with 15 additions and 2 deletions

View File

@@ -274,6 +274,9 @@ export function Backup() {
settingName={t('settings.backup.automated.location.label.title')}
dialogDescription={t('settings.backup.automated.location.label.description')}
value={backupSettings.backupPath}
settingDescription={
backupSettings.backupPath.length ? backupSettings.backupPath : t('global.label.default')
}
handleChange={(path) => updateSetting('backupPath', path)}
/>
<TimeSetting