mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 03:40:48 +00:00
1905 fix (#1907)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
15d3a2baab
commit
4d12b831ff
@ -20,7 +20,6 @@
|
||||
Action,
|
||||
CircleButton,
|
||||
Component,
|
||||
eventToHTMLElement,
|
||||
IconAdd,
|
||||
IconDelete,
|
||||
IconEdit,
|
||||
@ -95,7 +94,14 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
showPopup(Menu, { actions }, eventToHTMLElement(ev), () => {})
|
||||
showPopup(
|
||||
Menu,
|
||||
{ actions },
|
||||
{
|
||||
getBoundingClientRect: () => DOMRect.fromRect({ width: 1, height: 1, x: ev.clientX, y: ev.clientY })
|
||||
},
|
||||
() => {}
|
||||
)
|
||||
}
|
||||
function getRefClassTo (value: Type<Type<any>>): IntlString {
|
||||
return client.getHierarchy().getClass((value as RefTo<Doc>).to).label
|
||||
|
Loading…
Reference in New Issue
Block a user