From fbc258c092a4005abd078c0f582c104f0340838a Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 4 Nov 2022 11:09:59 -0500 Subject: [PATCH] Fixed: Tag details fails for release profiles with tags --- .../Tags/Details/TagDetailsModalContent.js | 17 ----------------- frontend/src/Settings/Tags/Tag.js | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/frontend/src/Settings/Tags/Details/TagDetailsModalContent.js b/frontend/src/Settings/Tags/Details/TagDetailsModalContent.js index fdc736dd9..48a008960 100644 --- a/frontend/src/Settings/Tags/Details/TagDetailsModalContent.js +++ b/frontend/src/Settings/Tags/Details/TagDetailsModalContent.js @@ -140,23 +140,6 @@ function TagDetailsModalContent(props) { } -
- { - item.preferred.map((i) => { - const isPreferred = i.value >= 0; - - return ( - - ); - }) - } -
-
{ item.ignored.map((i) => { diff --git a/frontend/src/Settings/Tags/Tag.js b/frontend/src/Settings/Tags/Tag.js index a6dcbcd1c..59e6af42d 100644 --- a/frontend/src/Settings/Tags/Tag.js +++ b/frontend/src/Settings/Tags/Tag.js @@ -122,7 +122,7 @@ class Tag extends Component { { restrictionIds.length ?
- {restrictionIds.length} restriction{restrictionIds.length > 1 && 's'} + {restrictionIds.length} release profile{restrictionIds.length > 1 && 's'}
: null }