diff --git a/web/src/forms/settings/IndexerForms.tsx b/web/src/forms/settings/IndexerForms.tsx index 8e7443b..363d999 100644 --- a/web/src/forms/settings/IndexerForms.tsx +++ b/web/src/forms/settings/IndexerForms.tsx @@ -19,7 +19,6 @@ import { PasswordFieldWide, SwitchGroupWide, TextFieldWide } from "@components/i import { SlideOver } from "@components/panels"; import Toast from "@components/notifications/Toast"; import { SelectFieldBasic, SelectFieldCreatable } from "@components/inputs/select_wide"; -import { CustomTooltip } from "@components/tooltips/CustomTooltip"; import { FeedDownloadTypeOptions } from "@domain/constants"; import { feedKeys } from "@screens/settings/Feed"; import { indexerKeys } from "@screens/settings/Indexer"; @@ -87,13 +86,13 @@ const IrcSettingFields = (ind: IndexerDefinition, indexer: string) => { {ind.irc.settings.map((f: IndexerSetting, idx: number) => { switch (f.type) { - case "text": - return

Please read our IRC guide if you are unfamiliar with IRC.

https://autobrr.com/configuration/irc} />; - case "secret": - if (f.name === "invite_command") { - return ; - } - return ; + case "text": + return

Please read our IRC guide if you are unfamiliar with IRC.

https://autobrr.com/configuration/irc} />; + case "secret": + if (f.name === "invite_command") { + return ; + } + return ; } return null; })} @@ -121,10 +120,10 @@ const TorznabFeedSettingFields = (ind: IndexerDefinition, indexer: string) => { {ind.torznab.settings.map((f: IndexerSetting, idx: number) => { switch (f.type) { - case "text": - return ; - case "secret": - return ; + case "text": + return ; + case "secret": + return ; } return null; })} @@ -160,10 +159,10 @@ const NewznabFeedSettingFields = (ind: IndexerDefinition, indexer: string) => { {ind.newznab.settings.map((f: IndexerSetting, idx: number) => { switch (f.type) { - case "text": - return ; - case "secret": - return ; + case "text": + return ; + case "secret": + return ; } return null; })} @@ -191,10 +190,10 @@ const RSSFeedSettingFields = (ind: IndexerDefinition, indexer: string) => { {ind.rss.settings.map((f: IndexerSetting, idx: number) => { switch (f.type) { - case "text": - return ; - case "secret": - return ; + case "text": + return ; + case "secret": + return ; } return null; })} @@ -219,14 +218,14 @@ const SettingFields = (ind: IndexerDefinition, indexer: string) => {
{ind && ind.settings && ind.settings.map((f, idx: number) => { switch (f.type) { - case "text": - return ( - - ); - case "secret": - return ( -

This field does not take a full URL. Only use alphanumeric strings like uqcdi67cibkx3an8cmdm.


https://autobrr.com/faqs#common-action-rejections
} /> - ); + case "text": + return ( + + ); + case "secret": + return ( +

This field does not take a full URL. Only use alphanumeric strings like uqcdi67cibkx3an8cmdm.


https://autobrr.com/faqs#common-action-rejections
} /> + ); } return null; })} @@ -753,14 +752,14 @@ export function IndexerUpdateForm({ isOpen, toggle, indexer }: UpdateProps) {
{settings.map((f: IndexerSetting, idx: number) => { switch (f.type) { - case "text": - return ( - - ); - case "secret": - return ( -

This field does not take a full URL. Only use alphanumeric strings like uqcdi67cibkx3an8cmdm.


https://autobrr.com/faqs#common-action-rejections
} /> - ); + case "text": + return ( + + ); + case "secret": + return ( +

This field does not take a full URL. Only use alphanumeric strings like uqcdi67cibkx3an8cmdm.


https://autobrr.com/faqs#common-action-rejections
} /> + ); } return null; })}