mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 09:35:00 +02:00
UBER-1185: Fix TT migration issues (#4320)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -248,7 +248,7 @@ async function restoreToDoCategory (client: MigrationClient): Promise<void> {
|
||||
const taskTypes = await client.find<TaskType>(DOMAIN_TASK, {
|
||||
_class: task.class.TaskType,
|
||||
descriptor: tracker.descriptors.Issue,
|
||||
_id: { $in: p.tasks }
|
||||
_id: { $in: p.tasks ?? [] }
|
||||
})
|
||||
for (const taskType of taskTypes) {
|
||||
if (taskType.statusCategories.includes(task.statusCategory.ToDo)) continue
|
||||
|
||||
Reference in New Issue
Block a user