Handle case where sub label was null (#12785)

This commit is contained in:
Nicolas Mowen 2024-08-06 09:08:14 -06:00
parent f8f7b74792
commit 43d2986208

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