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>
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('RootFolder')}</FormLabel>
|
||||
<FormLabel>
|
||||
{translate('RootFolder')}
|
||||
</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.ROOT_FOLDER_SELECT}
|
||||
@ -117,19 +119,22 @@ class AddNewMovieModalContent extends Component {
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>
|
||||
{translate('Monitor')}
|
||||
{translate('Monitored')}
|
||||
</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.MOVIE_MONITORED_SELECT}
|
||||
type={inputTypes.CHECK}
|
||||
name="monitor"
|
||||
helpText={translate('MonitoredHelpText')}
|
||||
onChange={onInputChange}
|
||||
{...monitor}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('MinimumAvailability')}</FormLabel>
|
||||
<FormLabel>
|
||||
{translate('MinimumAvailability')}
|
||||
</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.AVAILABILITY_SELECT}
|
||||
@ -140,7 +145,9 @@ class AddNewMovieModalContent extends Component {
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('QualityProfile')}</FormLabel>
|
||||
<FormLabel>
|
||||
{translate('QualityProfile')}
|
||||
</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.QUALITY_PROFILE_SELECT}
|
||||
@ -151,7 +158,9 @@ class AddNewMovieModalContent extends Component {
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('Tags')}</FormLabel>
|
||||
<FormLabel>
|
||||
{translate('Tags')}
|
||||
</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.TAG}
|
||||
|
@ -30,7 +30,7 @@ export const defaultState = {
|
||||
|
||||
defaults: {
|
||||
rootFolderPath: '',
|
||||
monitor: 'true',
|
||||
monitor: true,
|
||||
qualityProfileId: 0,
|
||||
minimumAvailability: 'announced',
|
||||
tags: []
|
||||
|
@ -14,7 +14,7 @@ function getNewMovie(movie, payload) {
|
||||
};
|
||||
|
||||
movie.addOptions = addOptions;
|
||||
movie.monitored = monitor === 'true';
|
||||
movie.monitored = monitor;
|
||||
movie.qualityProfileId = qualityProfileId;
|
||||
movie.minimumAvailability = minimumAvailability;
|
||||
movie.rootFolderPath = rootFolderPath;
|
||||
|
@ -416,7 +416,6 @@
|
||||
"MissingMonitoredAndConsideredAvailable": "Missing, Monitored and considered Available",
|
||||
"MissingNotMonitored": "Missing, not Monitored",
|
||||
"Mode": "Mode",
|
||||
"Monitor": "Monitor",
|
||||
"Monitored": "Monitored",
|
||||
"MonitoredHelpText": "Download movie if available",
|
||||
"MonitoredOnly": "Monitored Only",
|
||||
|
Loading…
Reference in New Issue
Block a user