Fix Lead opening issue (#685)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2021-12-20 11:19:13 +01:00
committed by GitHub
parent ccf2a1d88d
commit 2bbf7fb2ed
+4 -1
View File
@@ -15,7 +15,7 @@
//
// To help typescript locate view plugin properly
import type { Contact } from '@anticrm/contact'
import type { Contact, Employee } from '@anticrm/contact'
import type { Doc, FindOptions, Ref } from '@anticrm/core'
import type { Funnel, Lead } from '@anticrm/lead'
import { createKanban } from '@anticrm/lead'
@@ -49,6 +49,9 @@ export class TLead extends TTask implements Lead {
@Prop(Collection(attachment.class.Attachment), 'Attachments' as IntlString)
attachments?: number
@Prop(TypeRef(contact.class.Employee), 'Assignee' as IntlString)
declare assignee: Ref<Employee> | null
}
export function createModel (builder: Builder): void {