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( .filter((label) => label?.includes("-verified") == false)
(label) =>
label !== undefined && !label.includes("-verified"),
)
.map((label) => capitalizeFirstLetter(label)) .map((label) => capitalizeFirstLetter(label))
.sort() .sort()
.join(", ") .join(", ")