|
|
@ -16,7 +16,6 @@ import {
|
|
|
|
} from "../components";
|
|
|
|
} from "../components";
|
|
|
|
import { seriesEnabledKey } from "../keys";
|
|
|
|
import { seriesEnabledKey } from "../keys";
|
|
|
|
import { seriesTypeOptions } from "../options";
|
|
|
|
import { seriesTypeOptions } from "../options";
|
|
|
|
import { BaseUrlModification } from "../utilities/modifications";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const SettingsSonarrView: FunctionComponent = () => {
|
|
|
|
const SettingsSonarrView: FunctionComponent = () => {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
@ -34,7 +33,7 @@ const SettingsSonarrView: FunctionComponent = () => {
|
|
|
|
icon="/"
|
|
|
|
icon="/"
|
|
|
|
settingKey="settings-sonarr-base_url"
|
|
|
|
settingKey="settings-sonarr-base_url"
|
|
|
|
settingOptions={{
|
|
|
|
settingOptions={{
|
|
|
|
onLoaded: BaseUrlModification,
|
|
|
|
onLoaded: (s) => s.sonarr.base_url?.slice(1) ?? "",
|
|
|
|
onSubmit: (v) => "/" + v,
|
|
|
|
onSubmit: (v) => "/" + v,
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
></Text>
|
|
|
|
></Text>
|
|
|
|