mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 13:17:45 +02:00
UBERF-4319: Performance changes (#4474)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -157,7 +157,9 @@
|
||||
|
||||
async function handleSelection (evt: Event, selection: number): Promise<void> {
|
||||
const item = items[selection]
|
||||
|
||||
if (item == null) {
|
||||
return
|
||||
}
|
||||
if (item.item !== undefined) {
|
||||
const doc = item.item.doc
|
||||
void client.findOne(doc._class, { _id: doc._id }).then((value) => {
|
||||
|
||||
Reference in New Issue
Block a user