mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 20:45:00 +02:00
separate mention category for employees (#5095)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
@@ -67,8 +67,11 @@
|
||||
return false
|
||||
}
|
||||
|
||||
async function updateItems (query: string): Promise<void> {
|
||||
items = await searchFor('mention', query)
|
||||
async function updateItems (localQuery: string): Promise<void> {
|
||||
const r = await searchFor('mention', localQuery)
|
||||
if (r.query === query) {
|
||||
items = r.items
|
||||
}
|
||||
}
|
||||
$: void updateItems(query)
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user