feat: add tickets tab to admin user detail page

Add ability to view user's tickets directly from the user detail page.
Backend gets user_id filter on tickets endpoint, frontend shows ticket
list with status badges, message preview and navigation to ticket.
This commit is contained in:
Fringg
2026-02-07 05:21:16 +03:00
parent 77e0edf12d
commit 995c0348dc
6 changed files with 122 additions and 7 deletions

View File

@@ -101,6 +101,7 @@ export const adminApi = {
per_page?: number;
status?: string;
priority?: string;
user_id?: number;
} = {},
): Promise<AdminTicketListResponse> => {
const response = await apiClient.get('/cabinet/admin/tickets', { params });