Fix people creation from People table page (#1773)

This commit is contained in:
Charles Bochet
2023-09-29 16:21:30 +02:00
committed by GitHub
parent 3851e0f992
commit b52190c707
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@ export const BASE_PERSON_FIELDS_FRAGMENT = gql`
`;
export const PERSON_FIELDS_FRAGMENT = gql`
${BASE_PERSON_FIELDS_FRAGMENT}
fragment personFieldsFragment on Person {
...basePersonFieldsFragment
jobTitle

View File

@ -1,6 +1,9 @@
import { gql } from '@apollo/client';
import { BASE_PERSON_FIELDS_FRAGMENT } from '@/people/graphql/fragments/personFieldsFragment';
export const SEARCH_PEOPLE_QUERY = gql`
${BASE_PERSON_FIELDS_FRAGMENT}
query SearchPeople(
$where: PersonWhereInput
$limit: Int