mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
New: Change Add Movie Monitor Selection from Dropdown to Checkbox (#5319)
* New: Change Add Movie Monitor Selection from Dropdown to Checkbox * Fix Monitored Value not storing (bool changes) * address discord comments
This commit is contained in:
parent
3e795d290b
commit
897bfa04a6
@ -96,7 +96,9 @@ class AddNewMovieModalContent extends Component {
|
|||||||
|
|
||||||
<Form>
|
<Form>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>{translate('RootFolder')}</FormLabel>
|
<FormLabel>
|
||||||
|
{translate('RootFolder')}
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.ROOT_FOLDER_SELECT}
|
type={inputTypes.ROOT_FOLDER_SELECT}
|
||||||
@ -117,19 +119,22 @@ class AddNewMovieModalContent extends Component {
|
|||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>
|
<FormLabel>
|
||||||
{translate('Monitor')}
|
{translate('Monitored')}
|
||||||
</FormLabel>
|
</FormLabel>
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.MOVIE_MONITORED_SELECT}
|
type={inputTypes.CHECK}
|
||||||
name="monitor"
|
name="monitor"
|
||||||
|
helpText={translate('MonitoredHelpText')}
|
||||||
onChange={onInputChange}
|
onChange={onInputChange}
|
||||||
{...monitor}
|
{...monitor}
|
||||||
/>
|
/>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>{translate('MinimumAvailability')}</FormLabel>
|
<FormLabel>
|
||||||
|
{translate('MinimumAvailability')}
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.AVAILABILITY_SELECT}
|
type={inputTypes.AVAILABILITY_SELECT}
|
||||||
@ -140,7 +145,9 @@ class AddNewMovieModalContent extends Component {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>{translate('QualityProfile')}</FormLabel>
|
<FormLabel>
|
||||||
|
{translate('QualityProfile')}
|
||||||
|
</FormLabel>
|
||||||
|
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
type={inputTypes.QUALITY_PROFILE_SELECT}
|
type={inputTypes.QUALITY_PROFILE_SELECT}
|
||||||
@ -151,7 +158,9 @@ class AddNewMovieModalContent extends Component {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>{translate('Tags')}</FormLabel>
|
<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 === 'true';
|
movie.monitored = monitor;
|
||||||
movie.qualityProfileId = qualityProfileId;
|
movie.qualityProfileId = qualityProfileId;
|
||||||
movie.minimumAvailability = minimumAvailability;
|
movie.minimumAvailability = minimumAvailability;
|
||||||
movie.rootFolderPath = rootFolderPath;
|
movie.rootFolderPath = rootFolderPath;
|
||||||
|
@ -416,7 +416,6 @@
|
|||||||
"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
Block a user