mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 05:36:00 +00:00
connection context menu
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script lang="ts">
|
||||
import FontIcon from '../icons/FontIcon.svelte';
|
||||
import contextMenu from '../utility/contextMenu';
|
||||
|
||||
export let icon;
|
||||
export let title;
|
||||
@@ -10,9 +11,10 @@
|
||||
export let statusIcon = undefined;
|
||||
export let statusTitle = undefined;
|
||||
export let extInfo = undefined;
|
||||
export let menu = undefined;
|
||||
</script>
|
||||
|
||||
<div class="main" class:isBold draggable on:click>
|
||||
<div class="main" class:isBold draggable on:click use:contextMenu={menu}>
|
||||
{prefix}
|
||||
{#if isBusy}
|
||||
<FontIcon icon="icon loading" />
|
||||
|
||||
Reference in New Issue
Block a user