mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 20:57:45 +02:00
Edit attribute fixes (#1894)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
@@ -128,7 +128,15 @@
|
||||
<tbody>
|
||||
{#each attributes as attr}
|
||||
{@const attrType = attr.type._class === core.class.RefTo ? getRefClassTo(attr.type) : undefined}
|
||||
<tr class="antiTable-body__row" on:contextmenu|preventDefault={(ev) => showMenu(ev, attr)}>
|
||||
<tr
|
||||
class="antiTable-body__row"
|
||||
on:contextmenu={(ev) => {
|
||||
if (attr.isCustom) {
|
||||
ev.preventDefault()
|
||||
showMenu(ev, attr)
|
||||
}
|
||||
}}
|
||||
>
|
||||
<td>
|
||||
<div class="antiTable-cells__firstCell">
|
||||
<Label label={attr.label} />
|
||||
|
||||
Reference in New Issue
Block a user