mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 11:56:00 +00:00
connection context menu
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script>
|
||||
import _ from 'lodash';
|
||||
import { currentDropDownMenu } from '../stores';
|
||||
import DropDownMenu from './DropDownMenu.svelte';
|
||||
</script>
|
||||
@@ -7,7 +8,7 @@
|
||||
<DropDownMenu
|
||||
left={$currentDropDownMenu.left}
|
||||
top={$currentDropDownMenu.top}
|
||||
items={$currentDropDownMenu.items}
|
||||
items={_.compact(_.flatten($currentDropDownMenu.items))}
|
||||
on:close={() => ($currentDropDownMenu = null)}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user