mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-09 19:27:44 +02:00
fix(tracker): make Project.defaultIssueStatus optional (#10598)
defaultIssueStatus is not reliably populated for all projects.Make the field optional in the type definition and guard the migration to handle undefined values. Signed-off-by: Igor Loskutov <igor.loskutoff@gmail.com>
This commit is contained in:
@@ -61,7 +61,7 @@ export interface IssueStatus extends Status {}
|
||||
export interface Project extends TaskProject, IconProps {
|
||||
identifier: string // Project identifier
|
||||
sequence: number
|
||||
defaultIssueStatus: Ref<IssueStatus>
|
||||
defaultIssueStatus?: Ref<IssueStatus>
|
||||
defaultAssignee?: Ref<Employee>
|
||||
defaultTimeReportDay: TimeReportDayType
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user