Lidarr and Readarr integrations

This commit is contained in:
ajnart
2022-05-25 10:50:57 +02:00
parent 4f68f7e395
commit 2cb6781a94
4 changed files with 218 additions and 24 deletions

View File

@@ -173,7 +173,10 @@ export function AddAppShelfItemForm(props: { setOpened: (b: boolean) => void } &
{...form.getInputProps('type')}
/>
<LoadingOverlay visible={isLoading} />
{(form.values.type === 'Sonarr' || form.values.type === 'Radarr') && (
{(form.values.type === 'Sonarr' ||
form.values.type === 'Radarr' ||
form.values.type === 'Lidarr' ||
form.values.type === 'Readarr') && (
<TextInput
required
label="API key"