Hiding low-entropy photos from actor page. Fixed actors filter tab spacing. Fixed entity logo stretching on compact scene page.

This commit is contained in:
2026-01-09 03:08:08 +01:00
parent 37ccc3c3dd
commit b63037ef74
5 changed files with 8 additions and 4 deletions

View File

@@ -183,6 +183,7 @@ export function sortActorsByGender(actors, context = {}) {
const genderActors = ['transsexual', 'female', undefined, null, 'male'].flatMap((gender) => alphaActors.filter((actor) => actor.gender === gender));
const titleSlug = slugify(context.title);
const titleActors = titleSlug ? genderActors.sort((actorA, actorB) => {
const actorASlug = actorA.slug.split('-')[0];
const actorBSlug = actorB.slug.split('-')[0];