Skip to content

Commit

Permalink
[FilterDropdownEntitySearchSelect] add missing displayAvatarUrl (#1071)
Browse files Browse the repository at this point in the history
* [FilterDropdownEntitySearchSelect] add missing displayAvatarUrl

* add missing avatarUrl in activities

* remove console.log
  • Loading branch information
Weiko authored Aug 4, 2023
1 parent 057fa0a commit 11e7266
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions front/src/generated/graphql.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2327,7 +2327,7 @@ export type GetActivitiesByTargetsQueryVariables = Exact<{
}>;


export type GetActivitiesByTargetsQuery = { __typename?: 'Query', findManyActivities: Array<{ __typename?: 'Activity', id: string, createdAt: string, title?: string | null, body?: string | null, type: ActivityType, completedAt?: string | null, dueAt?: string | null, assignee?: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string } | null, author: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string }, comments?: Array<{ __typename?: 'Comment', id: string, body: string, createdAt: string, updatedAt: string, author: { __typename?: 'User', id: string, displayName: string, firstName?: string | null, lastName?: string | null, avatarUrl?: string | null } }> | null, activityTargets?: Array<{ __typename?: 'ActivityTarget', id: string, commentableType?: CommentableType | null, commentableId?: string | null }> | null }> };
export type GetActivitiesByTargetsQuery = { __typename?: 'Query', findManyActivities: Array<{ __typename?: 'Activity', id: string, createdAt: string, title?: string | null, body?: string | null, type: ActivityType, completedAt?: string | null, dueAt?: string | null, assignee?: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string, avatarUrl?: string | null } | null, author: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string }, comments?: Array<{ __typename?: 'Comment', id: string, body: string, createdAt: string, updatedAt: string, author: { __typename?: 'User', id: string, displayName: string, firstName?: string | null, lastName?: string | null, avatarUrl?: string | null } }> | null, activityTargets?: Array<{ __typename?: 'ActivityTarget', id: string, commentableType?: CommentableType | null, commentableId?: string | null }> | null }> };

export type GetActivitiesQueryVariables = Exact<{
where: ActivityWhereInput;
Expand All @@ -2342,7 +2342,7 @@ export type GetActivityQueryVariables = Exact<{
}>;


export type GetActivityQuery = { __typename?: 'Query', findManyActivities: Array<{ __typename?: 'Activity', id: string, createdAt: string, body?: string | null, title?: string | null, type: ActivityType, completedAt?: string | null, dueAt?: string | null, assignee?: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string } | null, author: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string }, comments?: Array<{ __typename?: 'Comment', id: string, body: string, createdAt: string, updatedAt: string, author: { __typename?: 'User', id: string, displayName: string, firstName?: string | null, lastName?: string | null, avatarUrl?: string | null } }> | null, activityTargets?: Array<{ __typename?: 'ActivityTarget', id: string, commentableType?: CommentableType | null, commentableId?: string | null }> | null }> };
export type GetActivityQuery = { __typename?: 'Query', findManyActivities: Array<{ __typename?: 'Activity', id: string, createdAt: string, body?: string | null, title?: string | null, type: ActivityType, completedAt?: string | null, dueAt?: string | null, assignee?: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string, avatarUrl?: string | null } | null, author: { __typename?: 'User', id: string, firstName?: string | null, lastName?: string | null, displayName: string }, comments?: Array<{ __typename?: 'Comment', id: string, body: string, createdAt: string, updatedAt: string, author: { __typename?: 'User', id: string, displayName: string, firstName?: string | null, lastName?: string | null, avatarUrl?: string | null } }> | null, activityTargets?: Array<{ __typename?: 'ActivityTarget', id: string, commentableType?: CommentableType | null, commentableId?: string | null }> | null }> };

export type AddActivityTargetsOnActivityMutationVariables = Exact<{
activityId: Scalars['String'];
Expand Down Expand Up @@ -2898,6 +2898,7 @@ export const GetActivitiesByTargetsDocument = gql`
firstName
lastName
displayName
avatarUrl
}
author {
id
Expand Down Expand Up @@ -3033,6 +3034,7 @@ export const GetActivityDocument = gql`
firstName
lastName
displayName
avatarUrl
}
author {
id
Expand Down
2 changes: 2 additions & 0 deletions front/src/modules/activities/queries/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const GET_ACTIVITIES_BY_TARGETS = gql`
firstName
lastName
displayName
avatarUrl
}
author {
id
Expand Down Expand Up @@ -105,6 +106,7 @@ export const GET_ACTIVITY = gql`
firstName
lastName
displayName
avatarUrl
}
author {
id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export function FilterDropdownEntitySearchSelect({
operand: selectedOperandInDropdown,
type: filterDefinitionUsedInDropdown.type,
value: selectedEntity.id,
displayAvatarUrl: selectedEntity.avatarUrl,
});
}
}
Expand Down

0 comments on commit 11e7266

Please sign in to comment.