mirror of https://github.com/Radarr/Radarr
Revert "New: Change Add Movie Monitor Selection from Dropdown to Checkbox (#5319)"
This reverts commit 897bfa04a6
.
This commit is contained in:
parent
0e5f43e139
commit
67ebf49b21
|
@ -96,9 +96,7 @@ class AddNewMovieModalContent extends Component {
|
||||||
|
|
||||||
<Form>
|
<Form>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>{translate('RootFolder')}</FormLabel>
|
||||||
{translate('RootFolder')}
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.ROOT_FOLDER_SELECT}
|
type={inputTypes.ROOT_FOLDER_SELECT}
|
||||||
|
@ -119,22 +117,19 @@ class AddNewMovieModalContent extends Component {
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
{translate('Monitored')}
|
{translate('Monitor')}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.CHECK}
|
type={inputTypes.MOVIE_MONITORED_SELECT}
|
||||||
name="monitor"
|
name="monitor"
|
||||||
helpText={translate('MonitoredHelpText')}
|
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...monitor}
|
{...monitor}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>{translate('MinimumAvailability')}</FormLabel>
|
||||||
{translate('MinimumAvailability')}
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.AVAILABILITY_SELECT}
|
type={inputTypes.AVAILABILITY_SELECT}
|
||||||
|
@ -145,9 +140,7 @@ class AddNewMovieModalContent extends Component {
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>{translate('QualityProfile')}</FormLabel>
|
||||||
{translate('QualityProfile')}
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.QUALITY_PROFILE_SELECT}
|
type={inputTypes.QUALITY_PROFILE_SELECT}
|
||||||
|
@ -158,9 +151,7 @@ class AddNewMovieModalContent extends Component {
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>{translate('Tags')}</FormLabel>
|
||||||
{translate('Tags')}
|
|
||||||
</FormLabel>
|
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.TAG}
|
type={inputTypes.TAG}
|
||||||
|
|
|
@ -30,7 +30,7 @@ export const defaultState = {
|
||||||
|
|
||||||
defaults: {
|
defaults: {
|
||||||
rootFolderPath: '',
|
rootFolderPath: '',
|
||||||
monitor: true,
|
monitor: 'true',
|
||||||
qualityProfileId: 0,
|
qualityProfileId: 0,
|
||||||
minimumAvailability: 'announced',
|
minimumAvailability: 'announced',
|
||||||
tags: []
|
tags: []
|
||||||
|
|
|
@ -14,7 +14,7 @@ function getNewMovie(movie, payload) {
|
||||||
};
|
};
|
||||||
|
|
||||||
movie.addOptions = addOptions;
|
movie.addOptions = addOptions;
|
||||||
movie.monitored = monitor;
|
movie.monitored = monitor === 'true';
|
||||||
movie.qualityProfileId = qualityProfileId;
|
movie.qualityProfileId = qualityProfileId;
|
||||||
movie.minimumAvailability = minimumAvailability;
|
movie.minimumAvailability = minimumAvailability;
|
||||||
movie.rootFolderPath = rootFolderPath;
|
movie.rootFolderPath = rootFolderPath;
|
||||||
|
|
|
@ -416,6 +416,7 @@
|
||||||
"MissingMonitoredAndConsideredAvailable": "Missing, Monitored and considered Available",
|
"MissingMonitoredAndConsideredAvailable": "Missing, Monitored and considered Available",
|
||||||
"MissingNotMonitored": "Missing, not Monitored",
|
"MissingNotMonitored": "Missing, not Monitored",
|
||||||
"Mode": "Mode",
|
"Mode": "Mode",
|
||||||
|
"Monitor": "Monitor",
|
||||||
"Monitored": "Monitored",
|
"Monitored": "Monitored",
|
||||||
"MonitoredHelpText": "Download movie if available",
|
"MonitoredHelpText": "Download movie if available",
|
||||||
"MonitoredOnly": "Monitored Only",
|
"MonitoredOnly": "Monitored Only",
|
||||||
|
|
Loading…
Reference in New Issue