diff --git a/web/constants/project.ts b/web/constants/project.ts index b8e3be9d6..2f15b74bc 100644 --- a/web/constants/project.ts +++ b/web/constants/project.ts @@ -21,6 +21,8 @@ export const GROUP_CHOICES = { cancelled: "Cancelled", }; +export const STATE_GROUP = ["Backlog", "Unstarted", "Started", "Completed", "Cancelled"]; + export const PRIORITIES: TIssuePriorities[] = ["urgent", "high", "medium", "low", "none"]; export const MONTHS = [ diff --git a/web/types/view-props.d.ts b/web/types/view-props.d.ts index 822e9afbf..dd663ae2d 100644 --- a/web/types/view-props.d.ts +++ b/web/types/view-props.d.ts @@ -39,7 +39,7 @@ export interface IIssueFilterOptions { subscriber?: string[] | null; target_date?: string[] | null; estimate_point?: string[] | null; - projects?: string[] | null; + project?: string[] | null; } export interface IIssueDisplayFilterOptions { diff --git a/web/types/views.d.ts b/web/types/views.d.ts index 94a90c1e0..e9741a270 100644 --- a/web/types/views.d.ts +++ b/web/types/views.d.ts @@ -30,5 +30,5 @@ export interface IQuery { start_date: string[] | null; target_date: string[] | null; type: "active" | "backlog" | null; - projects: string[] | null; + project: string[] | null; }