Skip to content

Commit

Permalink
Handle case where sub label was null (#12785)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Aug 8, 2024
1 parent f8f7b74 commit 43d2986
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/src/components/player/LivePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,7 @@ export default function LivePlayer({
),
]),
]
.filter(
(label) =>
label !== undefined && !label.includes("-verified"),
)
.filter((label) => label?.includes("-verified") == false)
.map((label) => capitalizeFirstLetter(label))
.sort()
.join(", ")
Expand Down

0 comments on commit 43d2986

Please sign in to comment.