separate mention category for employees (#5095)

Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
Vyacheslav Tumanov
2024-03-29 18:37:36 +05:00
committed by GitHub
parent 16204edaac
commit 72a93ad388
13 changed files with 56 additions and 52 deletions
@@ -244,7 +244,7 @@
async function updateItems (query: string, filteredActions: Array<WithLookup<Action>>): Promise<void> {
let searchItems: SearchItem[] = []
if (query !== '' && query.indexOf('/') !== 0) {
searchItems = await searchFor('spotlight', query)
searchItems = (await searchFor('spotlight', query)).items
}
items = packSearchAndActions(searchItems, filteredActions)
}