mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-21 21:47:15 +00:00
Fix #1770
This commit is contained in:
parent
4c7c240820
commit
e5c21bee45
2 changed files with 12 additions and 7 deletions
|
@ -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: [
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue