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:
@@ -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];
|
||||
|
||||
@@ -18,6 +18,7 @@ export function curateMedia(media, context = {}) {
|
||||
height: media.height,
|
||||
index: media.index,
|
||||
sharpness: media.sharpness,
|
||||
entropy: media.entropy,
|
||||
credit: media.credit,
|
||||
mime: mime && {
|
||||
type: mime[0],
|
||||
|
||||
Reference in New Issue
Block a user