Handle case where sub label was null (#12785)

This commit is contained in:
Nicolas Mowen 2024-08-06 09:08:14 -06:00
parent ff2e46650c
commit b1806b0a7c

View File

@ -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(", ")