context menu refactor

This commit is contained in:
Jan Prochazka
2021-04-07 17:57:05 +02:00
parent e84d231a10
commit 82b63c70ed
4 changed files with 31 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
<DropDownMenu
left={$currentDropDownMenu.left}
top={$currentDropDownMenu.top}
items={_.compact(_.flatten($currentDropDownMenu.items))}
items={$currentDropDownMenu.items}
on:close={() => ($currentDropDownMenu = null)}
/>
{/if}