mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-04-07 01:15:44 +02:00
Update:Add note for number of backups to keep #1041
This commit is contained in:
parent
6a6d384d88
commit
dcc223949a
@ -25,7 +25,9 @@
|
|||||||
<div class="flex items-center py-2">
|
<div class="flex items-center py-2">
|
||||||
<ui-text-input type="number" v-model="backupsToKeep" no-spinner :disabled="updatingServerSettings" :padding-x="1" text-center class="w-10" @change="updateBackupsSettings" />
|
<ui-text-input type="number" v-model="backupsToKeep" no-spinner :disabled="updatingServerSettings" :padding-x="1" text-center class="w-10" @change="updateBackupsSettings" />
|
||||||
|
|
||||||
<p class="pl-4 text-lg">Number of backups to keep</p>
|
<ui-tooltip :text="numBackupsToKeepTooltip">
|
||||||
|
<p class="pl-4 text-lg">Number of backups to keep <span class="material-icons icon-text">info_outlined</span></p>
|
||||||
|
</ui-tooltip>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex items-center py-2">
|
<div class="flex items-center py-2">
|
||||||
@ -53,7 +55,10 @@ export default {
|
|||||||
maxBackupSize: 1,
|
maxBackupSize: 1,
|
||||||
cronExpression: '',
|
cronExpression: '',
|
||||||
newServerSettings: {},
|
newServerSettings: {},
|
||||||
showCronBuilder: false
|
showCronBuilder: false,
|
||||||
|
backupsTooltip: 'Backups saved in /metadata/backups',
|
||||||
|
numBackupsToKeepTooltip: 'Only 1 backup will be removed at a time so if you already have more backups than this you should manually remove them.',
|
||||||
|
maxBackupSizeTooltip: 'As a safeguard against misconfiguration, backups will fail if they exceed the configured size.'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
@ -65,12 +70,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
backupsTooltip() {
|
|
||||||
return 'Backups saved in /metadata/backups'
|
|
||||||
},
|
|
||||||
maxBackupSizeTooltip() {
|
|
||||||
return 'As a safeguard against misconfiguration, backups will fail if they exceed the configured size.'
|
|
||||||
},
|
|
||||||
serverSettings() {
|
serverSettings() {
|
||||||
return this.$store.state.serverSettings
|
return this.$store.state.serverSettings
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user