Fixed: RootFolderSelect never uses provided initial value.

Fixes #412
pull/391/merge
Qstick 6 years ago
parent cee1b33c60
commit ff479ad170

@ -85,7 +85,7 @@ class RootFolderSelectInputConnector extends Component {
onChange
} = this.props;
if (!value || !_.some(values, (v) => v.hasOwnProperty(value)) || value === ADD_NEW_KEY) {
if (!value || !_.some(values, (v) => v.key === value) || value === ADD_NEW_KEY) {
const defaultValue = values[0];
if (defaultValue.key === ADD_NEW_KEY) {

@ -5,7 +5,6 @@ namespace NzbDrone.Core.ImportLists
public class ImportListDefinition : ProviderDefinition
{
public bool EnableAutomaticAdd { get; set; }
public bool ShouldMonitor { get; set; }
public int ProfileId { get; set; }
public int LanguageProfileId { get; set; }

Loading…
Cancel
Save