Skip to content

Commit 22864d0

Browse files
authored
Merge pull request #475 from AppQuality/UN-572-support-multiple-bug-context
fix(bug-item): support multiple bug context values
2 parents 95871ea + 46a55bc commit 22864d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pages/Bugs/Content/BugsTable/utils/mapBugsToTableData.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ export const mapBugsToTableData = (bugs: TableBugType[], t: TFunction) => {
4949
<BugTitle isUnread={!bug.read} isBold={isPillBold}>
5050
{bug.title.compact}
5151
</BugTitle>
52-
{bug.title.context && (
53-
<Pill isBold={isPillBold}>{bug.title.context}</Pill>
54-
)}
52+
{bug.title.context &&
53+
bug.title.context.map((context) => (
54+
<Pill isBold={isPillBold}>{context}</Pill>
55+
))}
5556
{bug.type.name && (
5657
<>
5758
<Pipe size="small" />

0 commit comments

Comments
 (0)