diff options
author | LASER-Yi <[email protected]> | 2022-03-21 10:20:42 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2022-03-21 10:20:42 +0800 |
commit | e5c21bee450885020a70d67138c0e3c21f299ad4 (patch) | |
tree | ead1e67e6f31dcae94f9d83adb2c532aa8fb2690 | |
parent | 4c7c240820f231d3e0b1ef75adaf715c541c58eb (diff) | |
download | bazarr-e5c21bee450885020a70d67138c0e3c21f299ad4.tar.gz bazarr-e5c21bee450885020a70d67138c0e3c21f299ad4.zip |
Fix #1770v1.0.4-beta.12
-rw-r--r-- | frontend/src/Router/index.tsx | 3 | ||||
-rw-r--r-- | frontend/src/pages/Settings/General/index.tsx | 16 |
2 files changed, 12 insertions, 7 deletions
diff --git a/frontend/src/Router/index.tsx b/frontend/src/Router/index.tsx index 2d94c7785..b47e823da 100644 --- a/frontend/src/Router/index.tsx +++ b/frontend/src/Router/index.tsx @@ -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: [ diff --git a/frontend/src/pages/Settings/General/index.tsx b/frontend/src/pages/Settings/General/index.tsx index b5ec38dec..86b271834 100644 --- a/frontend/src/pages/Settings/General/index.tsx +++ b/frontend/src/pages/Settings/General/index.tsx @@ -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"> |