1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-21 22:05:38 -04:00

New: Ability to edit restriction terms in Release Profiles

This commit is contained in:
Mark McDowall
2020-10-12 15:30:32 -07:00
parent d47ad37791
commit dab6242ff2
5 changed files with 91 additions and 13 deletions
@@ -62,13 +62,14 @@ function EditReleaseProfileModalContent(props) {
<FormLabel>Must Contain</FormLabel>
<FormInputGroup
{...required}
type={inputTypes.TEXT_TAG}
name="required"
helpText="The release must contain at least one of these terms (case insensitive)"
kind={kinds.SUCCESS}
placeholder="Add new restriction"
delimiters={tagInputDelimiters}
{...required}
canEdit={true}
onChange={onInputChange}
/>
</FormGroup>
@@ -77,13 +78,14 @@ function EditReleaseProfileModalContent(props) {
<FormLabel>Must Not Contain</FormLabel>
<FormInputGroup
{...ignored}
type={inputTypes.TEXT_TAG}
name="ignored"
helpText="The release will be rejected if it contains one or more of terms (case insensitive)"
kind={kinds.DANGER}
placeholder="Add new restriction"
delimiters={tagInputDelimiters}
{...ignored}
canEdit={true}
onChange={onInputChange}
/>
</FormGroup>