mirror of
https://github.com/Readarr/Readarr.git
synced 2026-01-29 16:21:18 -05:00
Show warning when using the docker update mechanism
(cherry picked from commit cc538c4b2d33a1734c45c0667776d946596107e9) Closes #2805
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
@@ -140,7 +140,7 @@ public static bool IsParentPath(this string parentPath, string childPath)
|
||||
|
||||
public static bool IsPathValid(this string path, PathValidationType validationType)
|
||||
{
|
||||
if (path.ContainsInvalidPathChars() || string.IsNullOrWhiteSpace(path))
|
||||
if (string.IsNullOrWhiteSpace(path) || path.ContainsInvalidPathChars())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
"AutoUnmonitorPreviouslyDownloadedBooksHelpText": "Books deleted from disk are automatically unmonitored in Readarr",
|
||||
"Automatic": "Automatic",
|
||||
"AutomaticAdd": "Automatic Add",
|
||||
"AutomaticUpdatesDisabledDocker": "Automatic updates are not directly supported when using the Docker update mechanism. You will need to update the container image outside of {appName} or use a script",
|
||||
"AutomaticallySwitchEdition": "Automatically Switch Edition",
|
||||
"Backup": "Backup",
|
||||
"BackupFolderHelpText": "Relative paths will be under Readarr's AppData directory",
|
||||
|
||||
Reference in New Issue
Block a user