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 { Environment } from "@/utilities";
import { import {
faClock, faClock,
faCogs,
faExclamationTriangle, faExclamationTriangle,
faFileExcel, faFileExcel,
faFilm, faFilm,
@ -181,7 +182,7 @@ function useRoutes(): CustomRouteObject[] {
], ],
}, },
{ {
icon: faExclamationTriangle, icon: faCogs,
name: "Settings", name: "Settings",
path: "settings", path: "settings",
children: [ children: [

View File

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