Skip to content

Commit c171f33

Browse files
Merge pull request #403 from AppQuality/UN-383-bug-detail-device
fix(bug-detail): fix device and os pills
2 parents 8bc1d25 + 9693f3b commit c171f33

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/pages/Bugs/Detail/Meta.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,20 @@ export default ({
8484
<Pipe style={{ height: '20px' }} />
8585
<IconPill
8686
size="medium"
87-
title={<InfoTitle>{bug.device.type}</InfoTitle>}
87+
title={
88+
<InfoTitle>
89+
{bug.device.type === 'desktop'
90+
? bug.device.desktop_type
91+
: `${bug.device.manufacturer} ${bug.device.model}`}
92+
</InfoTitle>
93+
}
8894
icon={getDeviceIcon(bug.device.type)}
8995
style={{ textTransform: 'capitalize' }}
9096
/>
9197
<IconPill
9298
title={
9399
<InfoTitle>
94-
{bug.device.type === 'desktop'
95-
? bug.device.desktop_type
96-
: `${bug.device.manufacturer} ${bug.device.model}`}
100+
{bug.device.os} {bug.device.os_version}
97101
</InfoTitle>
98102
}
99103
icon={<OSIcon />}

0 commit comments

Comments
 (0)