From 81dd976d8f7bdab4249f57a2cec012d5be77cde4 Mon Sep 17 00:00:00 2001 From: Vadim Date: Wed, 21 Oct 2026 13:05:05 +0300 Subject: [PATCH] fix history --- src/api/history.api.ts | 2 +- src/components/HistoryList.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/history.api.ts b/src/api/history.api.ts index 217ac7f..666bb9d 100644 --- a/src/api/history.api.ts +++ b/src/api/history.api.ts @@ -2,7 +2,7 @@ import { apiClient } from '@/lib/api-client.ts' import type { User } from '@/api/user.api.ts' /** created — a pseudo-field: the issue creation record, both values are null */ -export type IssueChangeField = 'created' | 'title' | 'content' | 'status' | 'priority' | 'assignee' | 'dueDate' +export type IssueChangeField = 'created' | 'title' | 'content' | 'status' | 'priority' | 'assignee' | 'dueDate' | 'type' /** Values are serialized: priority — number, dueDate — ISO date, assignee — user id */ export interface IssueFieldChange { diff --git a/src/components/HistoryList.vue b/src/components/HistoryList.vue index 60e19df..f417063 100644 --- a/src/components/HistoryList.vue +++ b/src/components/HistoryList.vue @@ -20,6 +20,7 @@ const FIELD_LABELS: Record = { priority: 'Priority', assignee: 'Assignee', dueDate: 'Due Date', + type: 'Type', } const PRIORITY_LABELS: Record = {