Fix people creation from People table page (#1773)
This commit is contained in:
@ -15,6 +15,7 @@ export const BASE_PERSON_FIELDS_FRAGMENT = gql`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
export const PERSON_FIELDS_FRAGMENT = gql`
|
export const PERSON_FIELDS_FRAGMENT = gql`
|
||||||
|
${BASE_PERSON_FIELDS_FRAGMENT}
|
||||||
fragment personFieldsFragment on Person {
|
fragment personFieldsFragment on Person {
|
||||||
...basePersonFieldsFragment
|
...basePersonFieldsFragment
|
||||||
jobTitle
|
jobTitle
|
||||||
|
|||||||
@ -1,6 +1,9 @@
|
|||||||
import { gql } from '@apollo/client';
|
import { gql } from '@apollo/client';
|
||||||
|
|
||||||
|
import { BASE_PERSON_FIELDS_FRAGMENT } from '@/people/graphql/fragments/personFieldsFragment';
|
||||||
|
|
||||||
export const SEARCH_PEOPLE_QUERY = gql`
|
export const SEARCH_PEOPLE_QUERY = gql`
|
||||||
|
${BASE_PERSON_FIELDS_FRAGMENT}
|
||||||
query SearchPeople(
|
query SearchPeople(
|
||||||
$where: PersonWhereInput
|
$where: PersonWhereInput
|
||||||
$limit: Int
|
$limit: Int
|
||||||
|
|||||||
Reference in New Issue
Block a user