mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 13:17:45 +02:00
fix: handle disabled contacts plugin in mentions popup (#9904)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -47,6 +47,8 @@
|
||||
|
||||
async function getMultipleEmployeeSearchItems (localQuery: string, lastIndex: number): Promise<SearchItem[]> {
|
||||
if (!multipleMentions) return []
|
||||
if (employeeSearchCategory === undefined) return []
|
||||
|
||||
const clazz =
|
||||
docClass && client.getHierarchy().hasClass(docClass) ? client.getHierarchy().getClass(docClass) : undefined
|
||||
const docTitle = await translate(clazz?.label ?? core.string.Object, {})
|
||||
|
||||
Reference in New Issue
Block a user