mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 10:46:00 +00:00
duplicator options
This commit is contained in:
@@ -6,7 +6,14 @@
|
||||
|
||||
import FontIcon from '../icons/FontIcon.svelte';
|
||||
|
||||
import { activeTabId, currentDatabase, currentThemeDefinition, visibleCommandPalette } from '../stores';
|
||||
import {
|
||||
activeTabId,
|
||||
currentArchive,
|
||||
currentDatabase,
|
||||
currentThemeDefinition,
|
||||
selectedWidget,
|
||||
visibleCommandPalette,
|
||||
} from '../stores';
|
||||
import getConnectionLabel from '../utility/getConnectionLabel';
|
||||
import { useConnectionList, useDatabaseServerVersion, useDatabaseStatus } from '../utility/metadataLoaders';
|
||||
import { findCommand } from '../commands/runCommand';
|
||||
@@ -140,6 +147,18 @@
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{#if $currentArchive}
|
||||
<div
|
||||
class="item flex clickable"
|
||||
title="Current archive"
|
||||
on:click={() => {
|
||||
$selectedWidget = 'archive';
|
||||
}}
|
||||
>
|
||||
<FontIcon icon="icon archive" />
|
||||
{$currentArchive}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div class="container">
|
||||
{#each contextItems || [] as item}
|
||||
|
||||
Reference in New Issue
Block a user