This commit is contained in:
LASER-Yi 2022-03-21 10:20:42 +08:00
parent 4c7c240820
commit e5c21bee45
No known key found for this signature in database
GPG Key ID: BB28903D50A1D408
2 changed files with 12 additions and 7 deletions

View File

@ -31,6 +31,7 @@ import WantedSeriesView from "@/pages/Wanted/Series";
import { Environment } from "@/utilities";
import {
faClock,
faCogs,
faExclamationTriangle,
faFileExcel,
faFilm,
@ -181,7 +182,7 @@ function useRoutes(): CustomRouteObject[] {
],
},
{
icon: faExclamationTriangle,
icon: faCogs,
name: "Settings",
path: "settings",
children: [

View File

@ -188,12 +188,16 @@ const SettingsGeneralView: FunctionComponent = () => {
<File settingKey="settings-backup-folder" type="bazarr"></File>
<Message>Absolute path to the backup directory</Message>
</Input>
<Input name="Retention (days)">
<Text
settingKey="settings-backup-retention"
numberWithArrows={true}
></Text>
<Input name="Retention">
<InputGroup>
<Text
settingKey="settings-backup-retention"
numberWithArrows={true}
></Text>
<InputGroup.Prepend>
<InputGroup.Text>Days</InputGroup.Text>
</InputGroup.Prepend>
</InputGroup>
</Input>
</Group>
<Group header="Analytics">