Show warning when using the docker update mechanism

(cherry picked from commit cc538c4b2d33a1734c45c0667776d946596107e9)
This commit is contained in:
Bogdan 2023-08-14 00:03:18 +03:00
parent caf4a18e59
commit d9ce6d43e4
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: 'Lidarr' }) : undefined}
onChange={onInputChange}
{...updateAutomatically}
/>