This commit is contained in:
Jan Prochazka
2021-02-28 10:37:07 +01:00
parent 182b0e0a75
commit 5929a01010
3 changed files with 3 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
<script>
import { currentDropDownMenu } from '../stores';
import DropDownMenu from './DropDownMenu.svelte';
</script>
{#if $currentDropDownMenu}
<DropDownMenu
left={$currentDropDownMenu.left}
top={$currentDropDownMenu.top}
items={$currentDropDownMenu.items}
on:close={() => ($currentDropDownMenu = null)}
/>
{/if}