Fixed alert searches. Added Teen Mega World campaigns.
This commit is contained in:
@@ -43,11 +43,12 @@
|
||||
<script>
|
||||
async function search() {
|
||||
if (this.content === 'actors') {
|
||||
this.results = await this.$store.dispatch('searchActors', {
|
||||
const { actors } = await this.$store.dispatch('fetchActors', {
|
||||
query: this.query,
|
||||
minLength: 1,
|
||||
limit: 10,
|
||||
});
|
||||
|
||||
this.results = actors;
|
||||
}
|
||||
|
||||
if (this.content === 'entities') {
|
||||
|
||||
@@ -116,6 +116,7 @@ export default {
|
||||
::v-deep(.dialog-body) {
|
||||
padding: 1rem;
|
||||
flex-grow: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
::v-deep(.dialog-section:not(:last-child)) {
|
||||
|
||||
@@ -303,7 +303,8 @@ function initActorActions(store, router) {
|
||||
|
||||
const genderFilter = (gender === null && 'gender: { isNull: true }')
|
||||
|| (gender === 'all' && ' ')
|
||||
|| `gender: { equalTo: "${gender}" }`;
|
||||
|| (gender && `gender: { equalTo: "${gender}" }`)
|
||||
|| '';
|
||||
|
||||
const ageFilter = age ? `
|
||||
or: [
|
||||
@@ -422,7 +423,7 @@ function initActorActions(store, router) {
|
||||
query,
|
||||
offset: Math.max(0, (pageNumber - 1)) * limit,
|
||||
limit,
|
||||
naturalBoobs,
|
||||
naturalBoobs: naturalBoobs || null,
|
||||
hasAuth: !!store.state.auth.user,
|
||||
userId: store.state.auth.user?.id,
|
||||
});
|
||||
|
||||
@@ -247,10 +247,10 @@ function initEntitiesActions(store, router) {
|
||||
const { entities } = await graphql(`
|
||||
query SearchEntities(
|
||||
$query: String!
|
||||
$limit:Int = 20,
|
||||
$limit: Int = 20,
|
||||
) {
|
||||
entities: searchEntities(
|
||||
search: $query,
|
||||
search: $query
|
||||
first: $limit
|
||||
) {
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user