1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
This commit is contained in:
Bill Thornton 2025-03-30 11:01:14 -04:00 committed by GitHub
commit 622a37de87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 61 additions and 41 deletions

View file

@ -80,10 +80,12 @@ const UserParentalControl = () => {
for (let i = 0, length = allParentalRatings.length; i < length; i++) {
rating = allParentalRatings[i];
if (!rating) continue;
if (ratings.length) {
const lastRating = ratings[ratings.length - 1];
if (lastRating.Value === rating.Value) {
if (lastRating && lastRating.Value === rating.Value) {
lastRating.Name += '/' + rating.Name;
continue;
}