Fixed: Release profiles not saving if Must (Not) Contain is empty

(cherry picked from commit 0abd52d6beba82f9c9af0d6469aa1a7157128537)
pull/2434/head
Mark McDowall 3 years ago committed by servarr
parent 93aa50b780
commit 9833a0f45d

@ -9,8 +9,8 @@ import EditReleaseProfileModalContent from './EditReleaseProfileModalContent';
const newReleaseProfile = {
enabled: true,
required: '',
ignored: '',
required: [],
ignored: [],
preferred: [],
includePreferredWhenRenaming: false,
tags: [],

@ -197,8 +197,8 @@ ReleaseProfile.propTypes = {
ReleaseProfile.defaultProps = {
enabled: true,
required: '',
ignored: '',
required: [],
ignored: [],
preferred: [],
indexerId: 0
};

@ -17,6 +17,9 @@ namespace Lidarr.Api.V1.Profiles.Release
public ReleaseProfileResource()
{
Required = new List<string>();
Ignored = new List<string>();
Preferred = new List<KeyValuePair<string, int>>();
Tags = new HashSet<int>();
}
}

Loading…
Cancel
Save