1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-24 03:33:31 +01:00

Fixed: Tag details fails for release profiles with tags

This commit is contained in:
Qstick 2022-11-04 11:09:59 -05:00
parent 25eb0ba816
commit fbc258c092
2 changed files with 1 additions and 18 deletions

View File

@ -140,23 +140,6 @@ function TagDetailsModalContent(props) {
}
</div>
<div>
{
item.preferred.map((i) => {
const isPreferred = i.value >= 0;
return (
<Label
key={i.key}
kind={isPreferred ? kinds.DEFAULT : kinds.WARNING}
>
{i.key} {isPreferred && '+'}{i.value}
</Label>
);
})
}
</div>
<div>
{
item.ignored.map((i) => {

View File

@ -122,7 +122,7 @@ class Tag extends Component {
{
restrictionIds.length ?
<div>
{restrictionIds.length} restriction{restrictionIds.length > 1 && 's'}
{restrictionIds.length} release profile{restrictionIds.length > 1 && 's'}
</div> :
null
}