fix: coverImageAttachmentId

This commit is contained in:
Dominik Pschenitschni 2022-11-01 14:27:35 +01:00
parent 3c5bfcc6f3
commit e01df4d369
Signed by untrusted user: dpschen
GPG Key ID: B257AC0149F43A77
2 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export interface ITask extends IAbstract {
percentDone: number
relatedTasks: Partial<Record<IRelationKind, ITask[]>>
attachments: IAttachment[]
coverImageAttachmentId: IAttachment['id']
coverImageAttachmentId: IAttachment['id'] | null
identifier: string
index: number
isFavorite: boolean

View File

@ -84,6 +84,7 @@ export default class TaskModel extends AbstractModel<ITask> implements ITask {
index = 0
isFavorite = false
subscription: ISubscription = null
coverImageAttachmentId: IAttachment['id'] = null
position = 0
kanbanPosition = 0