diff --git a/frontend/src/components/input/editor/mention/mentionSuggestion.ts b/frontend/src/components/input/editor/mention/mentionSuggestion.ts index 208e9d81d..55a60abae 100644 --- a/frontend/src/components/input/editor/mention/mentionSuggestion.ts +++ b/frontend/src/components/input/editor/mention/mentionSuggestion.ts @@ -17,8 +17,9 @@ interface MentionItem extends MentionNodeAttrs { async function searchUsersForProject(projectId: number, query: string): Promise { const projectUserService = new ProjectUserService() - + // Use server-side search with the 's' parameter + // @ts-expect-error - projectId is used for URL replacement but not part of IAbstract const users = await projectUserService.getAll({ projectId }, { s: query }) as IUser[] // Fetch avatar URLs for all users