Show warning when using the docker update mechanism

(cherry picked from commit cc538c4b2d33a1734c45c0667776d946596107e9)

Closes #2805
This commit is contained in:
Bogdan
2023-08-14 00:03:18 +03:00
parent 82bc2d1aa4
commit 1202a43466
3 changed files with 3 additions and 1 deletions

View File

@@ -91,6 +91,7 @@ function UpdateSettings(props) {
type={inputTypes.CHECK}
name="updateAutomatically"
helpText={translate('UpdateAutomaticallyHelpText')}
helpTextWarning={updateMechanism.value === 'docker' ? translate('AutomaticUpdatesDisabledDocker', { appName: 'Readarr' }) : undefined}
onChange={onInputChange}
{...updateAutomatically}
/>