fix(dashboard): ролевые виды и ссылка на аудит вместо дубля

Moderator/support видят свою статистику; admin_activity заменён ссылкой на /audit.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-13 17:54:51 +03:00
parent bc8ec9aeea
commit a1bd11afee
2 changed files with 83 additions and 120 deletions
+5
View File
@@ -350,6 +350,11 @@ export interface DashboardStats {
tickets_by_day?: DayCount[];
subscriptions_by_day?: DayCount[];
pending_users_by_day?: DayCount[];
avg_report_resolution_h?: number;
events_moderated?: number;
// support
tickets_assigned_open?: number;
tickets_assigned_total?: number;
}
export interface AdminActivity {