Skip to content

Commit 2b38268

Browse files
committed
add typeof check to os name
1 parent 02d5808 commit 2b38268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/app/utils/discover/fieldRenderers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ const SPECIAL_FIELDS: Record<string, SpecialField> = {
920920
sortField: 'os.name',
921921
renderFunc: data => {
922922
const osName = data['os.name'];
923-
if (osName !== 'string') {
923+
if (typeof osName !== 'string') {
924924
return <Container>{emptyStringValue}</Container>;
925925
}
926926

0 commit comments

Comments
 (0)