mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 03:37:43 +02:00
EQMS-1323 Allow todos in controlled documents (#7486)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
"@hcengineering/model-notification": "^0.6.0",
|
||||
"@hcengineering/chunter": "^0.6.20",
|
||||
"@hcengineering/text-editor": "^0.6.0",
|
||||
"@hcengineering/collaboration": "^0.6.0"
|
||||
"@hcengineering/collaboration": "^0.6.0",
|
||||
"@hcengineering/time": "^0.6.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,6 +90,7 @@ import core, {
|
||||
} from '@hcengineering/model-core'
|
||||
import { getEmbeddedLabel } from '@hcengineering/platform'
|
||||
import tags, { type TagReference } from '@hcengineering/tags'
|
||||
import time, { type ToDo } from '@hcengineering/time'
|
||||
import training, { type Training, type TrainingRequest } from '@hcengineering/training'
|
||||
|
||||
import documents from './plugin'
|
||||
@@ -397,6 +398,9 @@ export class TControlledDocument extends THierarchyDocument implements Controlle
|
||||
@Prop(TypeRef(documents.class.Document), documents.string.ChangeControl)
|
||||
@Hidden()
|
||||
changeControl!: Ref<ChangeControl>
|
||||
|
||||
@Prop(Collection(time.class.ToDo), getEmbeddedLabel('Action Items'))
|
||||
todos?: CollectionSize<ToDo>
|
||||
}
|
||||
|
||||
@Model(documents.class.ChangeControl, core.class.Doc, DOMAIN_DOCUMENTS)
|
||||
|
||||
Reference in New Issue
Block a user