Tool recruit update (#1035)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-02-23 10:09:07 +01:00
committed by GitHub
parent 2691ac930e
commit 5a74bda519
9 changed files with 319 additions and 33 deletions
@@ -30,7 +30,7 @@
} from '@anticrm/presentation'
import type { Candidate } from '@anticrm/recruit'
import { recognizeDocument } from '@anticrm/rekoni'
import tags, { findTagCategory, findTagCategory, TagElement, TagReference } from '@anticrm/tags'
import tags, { findTagCategory, TagElement, TagReference } from '@anticrm/tags'
import {
Component,
EditBox,
@@ -248,7 +248,7 @@
const categories = await client.findAll(tags.class.TagCategory, {})
const categoriesMap = new Map(Array.from(categories.map(it => ([it._id, it]))))
const newSkills:TagReference[] = []
// Create missing tag elemnts
for (const s of doc.skills ?? []) {