Improved actor filter layout behavior.
This commit is contained in:
@@ -181,6 +181,7 @@ function initActorActions(store, _router) {
|
||||
if (actorSlug) {
|
||||
return fetchActorBySlug(actorSlug);
|
||||
}
|
||||
console.log(genders);
|
||||
|
||||
const { actors } = await graphql(`
|
||||
query Actors(
|
||||
@@ -230,7 +231,8 @@ function initActorActions(store, _router) {
|
||||
`, {
|
||||
limit,
|
||||
letter,
|
||||
genders,
|
||||
genders: genders.filter(Boolean),
|
||||
genderNull: genders.some(gender => gender === null),
|
||||
});
|
||||
|
||||
return actors.map(actor => curateActor(actor));
|
||||
|
||||
Reference in New Issue
Block a user